• Home
  • Get help
  • Ask a question
Last post 44 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67711
All time tickets 10463
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.

#5590 – 404 on home page

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.
Wednesday, 06 February 2019 16:10 UTC
biopgoo
 Hello

Due to legacy URL without language code, I've added the following alias
/{*} to /es/{} and it works fine but for the home page that gives a 404 error

Check https://xxxx.net to see what happens

What do you suggest? The error does not appear in the 404 log
Wednesday, 06 February 2019 16:36 UTC
wb_weeblr
Hi

Well, does a page /es/ exists in the SEF URL manager? if not, you have to create it.

Best regards
 
Wednesday, 06 February 2019 17:56 UTC
biopgoo
It's the home page. It is redirecting xxxx.net to xxxx.net/es which fits not exist

I do not know how to create the /es/ page in the URL manager
Thursday, 07 February 2019 08:23 UTC
biopgoo
After checking the es/ link in the URL manager i found out it pointed to a non existing category in web links. I had to change how web links URL are generated to free the es/ entry. I felt powerless as the system did not allow me to create the URL as it automatically pointed to a non existing category in a wrong components.

Is there an easy way to overwrite the default URL generation mechanism?
Thursday, 07 February 2019 08:31 UTC
wb_weeblr
Hi

I felt powerless as the system did not allow me to create the URL as it automatically pointed to a non existing category in a wrong components.
At any point in time you can delete URLs in the SEF URL manager and re-recreate them exactly as you need them to be using the "New" button in the toolbar. Or to just change the SEF URL, click on the URL record and change it.

Is there an easy way to overwrite the default URL generation mechanism?
That's not at all the problem here.

After checking the es/ link in the URL manager i found out it pointed to a non existing category in web links.
That is the problem. It means that you had or still have a link on your site to that non-existing category.

URL records are created when they are needed by Joomla to use inside a page. If that URL was created, it's because Joomla asked sh404SEF to do so. And if that category was already deleted when Joomla asked us to create that SEF URL, it does mean you have a link to that category on your site, or at least that you still had one after that category was deleted and maybe you have deleted the link now.

Best regards

 
Thursday, 07 February 2019 13:10 UTC
biopgoo
I could not create a new link as the incorrect one was blocking creation
Thursday, 07 February 2019 13:12 UTC
wb_weeblr
Hi

I could not create a new link as the incorrect one was blocking creation
Which is why you have to delete the other one first.

And remember: this incorrect link has not been created by sh404SEF. It exists somewhere on your site and Joomla is asking sh404SEF to build its SEF version.

Best regards
 
Friday, 08 February 2019 13:18 UTC
biopgoo
The incorrect link was recreated so rapidly it was impossible to create the new link in time. It was really complicated to create the correct link. I had to change how weblink URL were created. If that situation occurs again, do you have any advice?
El jue., 7 feb. 2019 14:12, Weeblr <[email protected]> escribió:

Friday, 08 February 2019 14:29 UTC
wb_weeblr
Hi

The incorrect link was recreated so rapidly it was impossible to create the new link in time.
Then you should put the site offline or at least disable sh404SEF for a minute so that there's no traffic on the site.

If that situation occurs again, do you have any advice?
You should avoid changing your URL structure. For instance, you seem to have added a language code in URL on the default language. Your site does not seem to be multilingual at the moment but maybe you plan on adding other languages?
Regardless of that, if your site has been running for a while and is well indexed, adding a language code was not needed. You could just as well have simply added the other languages and not have a language code in the default language. On a new site, yes. On an existing, well indexed site, no.

Best regards
 
Saturday, 23 February 2019 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
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.