• Home
  • Get help
  • Ask a question
Last post 3 hours 42 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67778
All time tickets 10473
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.

#4387 – 404 returned for page in Joomla 3.8.2

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.
Monday, 04 December 2017 14:38 UTC
seanmcel
 Hi

I have a multilingual website at https:www.xxxx.com using Joomla 3.8.2 and sh404SEF 4.12.0.3715. All the pages work fine but suddenly https://www.xxxx.com/fr/ shows a 404. If I change the setting 'enable url optimisation to no', it works fine but of course I can't leave it like that, I wish this setting to be yes.

Any help gratefully received.
Monday, 04 December 2017 14:41 UTC
wb_weeblr
Hi

Could you please provide us with superadmin credentials to your website. You can create a temporary account, and delete it afterward, but it must have superuser level.

Thanks and regards
 
Monday, 04 December 2017 14:45 UTC
seanmcel
Thanks for such a prompt reply. Admin access is:

www.xxxx.com/administrator

User: xxxx
Password xxxx

You will be asked for an extra level of security, details are:

User: xxxx
Login: xxxx
Monday, 04 December 2017 15:03 UTC
wb_weeblr
Hi

in sh404SEF URs, the URL /fr/ is recorded for the article with id=139:



This article does not seem to exist, maybe it was in the past? during development?

I deleted that URL, but it comes back immediately if I visit the /fr/ page. I managed to fix the problem by deleting that URL again, and immediately loading the home page, so that URL is created properly.

I think on your French home page you have a non-sef link to that article somwehere on your site. But you probably deleted it now, and so when sh404SEF tries to create the SEF URL, there is no alias or title as the article has been deleted, and the URL ends up being just /fr/ while it should be /fr/title-of-deleted-article-139.

Do you know where you have a link to that article? can you remove it?

Rgds
 
Tuesday, 05 December 2017 09:35 UTC
seanmcel
Hi

Thanks for the feedback. I checked all my home page links on the French site (by which I mean clicking all the links on the page https://www.xxxx.com/fr) and didn't find anything (which I'm guessing would show up as a 404 if I had found something). It sounds like article 139 has been created and then later deleted but if this is the case, does sh404SEF not detect that it is deleted and ignore it? Now that the URL has been created properly, will this correct URL continue to be generated (if for example, I purged the URLs)? I don't understand why sh404SEF would make a deleted article its main basis for creating the sef URL. If this is the case, everyone would need to be extra careful about deleting articles, no?

Or did you mean that elsewhere on the site, other than just on the French home page, there is still a link to article 139?
Tuesday, 05 December 2017 10:23 UTC
wb_weeblr
Hi

. It sounds like article 139 has been created and then later deleted but if this is the case, does sh404SEF not detect that it is deleted and ignore it?
That's not the problem. The problem is that you have deleted the article, but you still have a link to it somewhere on your site. So Joomla asks sh404SEF to create a SEF URL for it, but sh404SEF cannot as the article is now gone and returns an empty title and category. So the created link is simply /fr/, as that link is somewhere on one of the French page.

If this is the case, everyone would need to be extra careful about deleting articles, no?
no, you would have to be careful about the links created on your pages.

Or did you mean that elsewhere on the site, other than just on the French home page, there is still a link to article 139?
yes, absolutely. I could see it when I deleted the link, then reloaded the french home page /fr/: the bad link was immediately recreated.

I solved the problem by deleting the link, then loading the German home page. The German home page has a (correct) link to the French home page (under the French flag in the language switcher), and so the /fr/ URL was properly created. When loading the french home page or some other pages, the bad link, with id=139 might be created again, but that won't cause any problem because it will be considered a duplicate and not used to render the /fr/ page.
Indeed, if you purge URLs, the problem may re-occur if the french page is loaded first and that link has not been removed.

Rgds
 
Tuesday, 05 December 2017 10:53 UTC
seanmcel
OK, that's great - thanks for clarifying. Will see if I can hunt down the bad link.
Tuesday, 05 December 2017 11:19 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!



Rgds
 
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.