• Home
  • Get help
  • Ask a question
Last post 7 hours 41 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67911
All time tickets 10496
All time avg. posts per day 20

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.

#1431 – 404 error goes to 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.
Monday, 23 November 2015 17:22 UTC
davidsoens
 Hello,

When browsing to a non-existent URL, sent to home page. In other words, it doesn't seem possible to view the 404 error page.

http://xxxx.com/

Thanks,

Dave
Monday, 23 November 2015 17:23 UTC
davidsoens
http://xxxx.com/administrator/index.php
xxxx
xxxx
Monday, 23 November 2015 17:38 UTC
wb_weeblr
Hi

1 - you are running an outdated version of sh404SEF, please update
2 - You have a big warning on the sh404SEF control panel: Joomla setting are not correct. You should fix them. Specifically Joomla SEF is off, and I don't whether you use URL rewriting or not, but having /index.php/ in your URLs doesn't look very good, so I would advise that you set up a valid .htaccess file on your server and enable URL rewriting in Joomla.

3 - As is customary in such cases, I have started by entirely disabling sh404SEF, to see what was the behavior of the site with regular Joomla SEF. What happen is weird: when I do that:

- the URLs keep having /index.php/ in them, even though I switched "Use URL rewriting" on.
- all links generate a 404, a Joomla 404 (ie not web server).

Why is this happening? do you have a valid .htaccess? do you force a redirect to /index.php/ or something like this?

Rgds

 
Monday, 23 November 2015 17:48 UTC
wb_weeblr
Ah got it. That was the SiteGround cache plugin. You want that to be disabled while developing your site, otherwise you make changes to settings and nothing happen on the frontend because you only see the cached version.

I still had to clear the Joomla cache to see sh404SEF URLs, so I don't know why, but you still have some heavy caching happening. Remember to clear Joomla cache after changing settings.

There's another setting you need to adjust: in Joomla config you have chosen to NOT have an .html suffix on URL, but in sh404SEF you selected to have one. You should go one way or the other, but not both.

As for the error page not appearing, well, you have set it so in sh404SEF configuration:


Change this back to the default 'Override Joomla! 404 error page' to use sh404SEF more advanced error page.

Rgds
 
Monday, 23 November 2015 20:10 UTC
davidsoens
Thank you!
Tuesday, 24 November 2015 08:09 UTC
wb_weeblr
Hi

You're welcome. Be sure to update sh404SEF (and your other extensions and Joomla) continuously. If not for security, at least for bug fixes.

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.

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.