• Home
  • Get help
  • Ask a question
Last post 1 hour 54 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67735
All time tickets 10467
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#5204 – 404 Requests

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 21 August 2018 21:48 UTC
Sona
Good evening

I have deployed SH404sef on a couple of Joomla sites thus far since purchasing the licence.

 On my wife's website which hasn't been doing very well in search ranking for our locality anyway, I have used it and discovered the obvious problem with the site.

Her site sells training course where people can book on the site (Using the Event Booking component from Joomdonation).

The site is getting over 100 404 requests each day for courses that are historic that cease to be published after the course date.

The URLS's for the course look like this https://www.xxxx.co.uk/book-a-course/10-first-aid-at-work-requal-2-day-14-15-11-2016/individual-registration and the source of the page request is a Google, Bing or other bot on each occasions.

We have never promoted individual courses on social media etc. so I guess this is literally the search engines trying to revisit a page indexed previously, if that is how it works.

Is this affecting ranking etc. and because there is a 404 request logged, does that mean the custom 404 error page has popped up offering alternatives, or that no alternatives were found etc.?

QUESTION 1Is there anything I can do about this other than leave old courses published?

QUESTION 2Other 404 requests include themes/templatename/favicon.ico etc. or some images. Why does this happen when I haven't change template?

Many thanks
 
Tuesday, 21 August 2018 22:07 UTC
Sona
I should have added that the URL's generated by sh404sef have the format now of:

https://www.xxxx.co.uk/10-first-aid-at-work-requal-2-day-14-15-11-2016/individual-registration in that the "book-a-course" menu item alias has been removed from the URL.

Even if it hadn't been, the events once they pass in the component are still technically published, but they are set not to display in the front end otherwise they would show up on search in the site.

I am starting to think that the best thing I could do is setup a redirect with wild cards for all URL's for a certain course type, eg. first-aid-at-wrok-requal to forward to the main first aid at work booking page. This however would most likely cause me penalization to search engines, or not?

Thank you.

 
Wednesday, 22 August 2018 08:06 UTC
wb_weeblr
Hi

The site is getting over 100 404 requests each day for courses that are historic that cease to be published after the course date.



The URLS's for the course look like this https://www.xxxx.co.uk/book-a-course/10-first-aid-at-work-requal-2-day-14-15-11-2016/individual-registration and the source of the page request is a Google, Bing or other bot on each occasions.



We have never promoted individual courses on social media etc. so I guess this is literally the search engines trying to revisit a page indexed previously, if that is how it works.



Is this affecting ranking etc. and because there is a 404 request logged, does that mean the custom 404 error page has popped up offering alternatives, or that no alternatives were found etc.?
This is absolutely normal and expected and is indeed how search engines handle 404: they very quickly remove it from their index and response to queries, but they also come back regularly - usually at least during a year - to check of that 404 was not a temporary mistake.

This will in no way harm your site rankings or performance and is the right thing to do from an SEO perspective for content that is not available anymore.

Other 404 requests include themes/templatename/favicon.ico etc. or some images. Why does this happen when I haven't change template?
Hard to say without looking actual individual examples - which is of course not part of our support.

There are basically only 2 types of 404s:

- those that originates from your own site ( you created a bad link, or you removed some content but you left some links to it on your own site). sh404SEF show those as "Internal"
- those coming from the outside, search engines, other bots, links from other sites with incorrect URLs. We call them "external"

You should find and fix internal 404. They will not harm your ranking at all but they will probably provide a poor user experience to your visitors.

There is nothing to do about external URLs, they are not under your control and do no harm except wasting a bit of server resources. If some happen too often, you may want to block them with sh404SEF URL blocker. Again, those 404 will have no SEO effect.

Even if it hadn't been, the events once they pass in the component are still technically published, but they are set not to display in the front end otherwise they would show up on search in the site.
The important think is whether requesting their URL in a browser generate a 404 or not. If Yes, all is good and this is the recommended way to go for SEO purposes.

Now to provide a better experience to your visitors who land on such a page, you may want to redirect them to a specific page that says "This course is not available any longer, click here to see all our current course" and link that to your courses start page.

This will be a better experience for visitors - but no SEO effect.

Best regards
 
Wednesday, 22 August 2018 09:11 UTC
Sona
OK thank you for this update.

I am puzzled by something though and haven't found a way to change it.

The site is xxxx.co.uk

Under "First Aid Training" and "Book a Course" if I go to pages under those menu headings the URL is /book-a-course/book-first-aid-at-work etc.

However if I click a link to book a course under a sub heading, let's say "first aid at work" the URL becomes /94-first-aid-at-work-3-day-29-10-2018-31-10-2018 rather than /book-a-course/94-first-aid-at-work-3-day-29-10-2018-31-10-2018 as it did prior to installing sh404SEF.

Is there anyway to force that URL to become book-a-course/94-first-aid-at-work-3-day-29-10-2018-31-10-2018 as it did prior to installing sh404SEF as it was pre-installation of your component, as there are published courses that are indexed with that URL already?
 
Wednesday, 22 August 2018 09:21 UTC
wb_weeblr
Hi

However if I click a link to book a course under a sub heading, let's say "first aid at work" the URL becomes /94-first-aid-at-work-3-day-29-10-2018-31-10-2018 rather than /book-a-course/94-first-aid-at-work-3-day-29-10-2018-31-10-2018 as it did prior to installing sh404SEF.
That's also expected. sh404SEF does not build URLs the same way as Joomla. Joomla bases URLs on menu items which is not considered a good practice as URLs for the same piece of content.
sh404SEF usually builds URLs based on the item characteristics such as the category(ies) it belongs to and its title. In that case, those pages are not coming from Joomla but from a 3rd-party component so URLs content is still decided by the component itself.

Is there anyway to force that URL to become book-a-course/94-first-aid-at-work-3-day-29-10-2018-31-10-2018 as it did prior to installing sh404SEF as it was pre-installation of your component, as there are published courses that are indexed with that URL already?
You can do the following:

- go to "By component" tab of sh404SEF configuration and locate the line where your course component is listed
- The first drop down will read "Use default handler". Leave it like that.
- the second drop down will read "Use sh404SEF plugin if available". Change that to "User router.php with menu item" then save
- Go to the sh404SEF URL manager and delete all URLs that exist for this component. Or maybe just start with one single URL such as "94-first-aid-at-work-3-day-29-10-2018-31-10-2018" as a test
- Visit your home page and navigate again to that page to see how the URL was created.

If all ok on that test, then delete the remaining URLs you want to change structure for. The new URLs will be created back as people navigate the site.

Best regards
 
Wednesday, 22 August 2018 15:50 UTC
Sona
Thank you for you excellent support.

I enabled the above to use the default Joomla router and the URL's were very long and still prefixed with the ID of each event. So upon reverting back to using sh404sef the URL's are now back to being short

eg. https://www.xxxx.co.uk/emergency-first-aid-at-work-1-day-28-08-2018

however as you can see the id of the event is no longer there, as if this time of asking sh404sef has stripped it, making the URL far nicer to look at so I will stick with that.

However, the titles for all pages render as I would like, with the exception of any for the Event Booking Component, where the page title in the browser tab has the name of the event twice, the first time with the date of the course and the second time I think putting the category in there. This isn't the case with any title tabs that use standard joomla components etc. as I got rid of the categories from displaying in them.

Any idea what causes the category to appear in the title tabs purely relating to Event Booking?

Thank you
 
Wednesday, 22 August 2018 15:55 UTC
wb_weeblr
Hi

1 -
I enabled the above to use the default Joomla router
That's not at all what I suggested above. Is this is shortcut to mean "I did what you suggested above" or did you really set the 1st drop down to "Use Joomla router" instead of the recommended "Use default handler"?

2 - Did you purge/delete all URLs involved at each change of the "By component" configuration changes so that old URLs are forgotten and new ones are created according to the new settings?

3 - What you see with the URL being different suggests that the settings were not restored exactly the same. Otherwise the URLs would be the same.

4 -
Any idea what causes the category to appear in the title tabs purely relating to Event Booking?
Page titles for Page Booking are entirely created by Event Booking, sh404SEF does not provide any specific support for it. You can manually override any page title on a per URL basis of course, from the URL manager.

Best regards
 
Wednesday, 22 August 2018 16:32 UTC
Sona
1. Sorry I did exactly what you said, my explanation however wasn't very specific. My apologies.

2. Yes

3. Agreed

4. I assumed this. Thank you.
 
Wednesday, 22 August 2018 16:44 UTC
wb_weeblr
HI

Ok good. Is this considered solved or do you have more questions?

Best regards

 
Wednesday, 22 August 2018 17:17 UTC
Sona
Solved mate thank you.
 
Wednesday, 22 August 2018 17:29 UTC
wb_weeblr
Hi

Cool! Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

Be sure to also check out wbAMP, our new Accelerated Mobiles pages plugin for Joomla - the next big thing is SEO, direct from Google themselves!



Best regards

 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.