• Home
  • Get help
  • Ask a question
Last post 9 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67853
All time tickets 10487
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.

#79 – 404 requests manager stopped after upgrading sh404sef

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, 15 April 2015 12:23 UTC
Kannan1976
 Dear Weeblr,

I just upgraded my sh404sef to the latest version 4.4.8.2409 on Joomla 3.4.1. However i noticed that even if the Log 404 error is set to Yes, the component now stopped logging 404 urls. I had no issues with the previous version, the last from anything-digital.

Thanks.
Wednesday, 15 April 2015 12:51 UTC
wb_weeblr
Hi

Can you provide links to your site, with superadmin backend access?
How many 404 urls do you have (had) in the list?

Rgds
 
Wednesday, 15 April 2015 13:43 UTC
Kannan1976
Hi,

I am moving this website to a new domain, links from old website are rewrited to this new domain but i dont see any 404 url logs. Previous sites with older version of sh404sef had no issues.

Super Admin Access

http://www.XXXXXXXXXXX.org/administrator/index.php?s

Username : XXXXXXXXXXX
Pass : XXXXXXXXXXX
Wednesday, 15 April 2015 13:50 UTC
wb_weeblr
ok. Can you give one example of old link and new link?

Rgds
 
Wednesday, 15 April 2015 14:10 UTC
Kannan1976
Old link
http://www.XXXXXXXXXXX.org/blog/17-women-in-sanatana-dharma-hinduism

New link
http://www.XXXXXXXXXXX.org/blog/women-in-sanatana-dharma-hinduism

Regards,
Kannan Naidu
Wednesday, 15 April 2015 15:16 UTC
wb_weeblr
Hi Kannan

Can you check a bit further your redirection setup.
If I try to load http://www.XXXXXXXXXXX.org/blog/17-women-in-sanatana-dharma-hinduism, I am redirected to http://www.XXXXXXXXXXX.org/blog/17-women-in-sanatana-dharma-hinduism but then the connection fails: https://weeblr.com/images/screenshots/eeq6B13aheM82YLWD6uNgFj8zzdwoq.png

I mean there's no 404, it's the server that fails to respond. That's why 404 don't show on the sh404SEF logs.

Also as you can see, the redirect is not for http://www.XXXXXXXXXXX.org/blog/women-in-sanatana-dharma-hinduism, but instead there's still the id, 17, in the target url

Rgds
 
Wednesday, 15 April 2015 15:43 UTC
Kannan1976
Hi,

Can you try again, there was some resource error on the hosting, its back to normal now.

On other websites that moved domain, i just do a rewrite rule from old domain to new domain, although there are some changes to the new url, sh404sef logs all the url and i will manually do a redirect to a sef url.

Wednesday, 15 April 2015 17:06 UTC
wb_weeblr
Hi

Ok, I was able to follow the redirect. I do get a 404 page, but I don't think that's sh404SEF 404 page. Instead you get Joomla! 404 page, or maybe it's even the web server log page, which is why the 404 is not recorded: it's not processed by sh404SEF.

The reason that can explain this are:

- the url blog/17-women-in-sanatana-dharma-hinduism exists in the URL manager, so sh404SEF doesn't trigger a 404
- more complex: one of your components is set to "Use Joomla! router", under the "By components" configuration of sh404SEF: see example: http://XXXXX/LEUTz
If so, and due to internal technical reasons, sh404SEF cannot always manage the 404s, because Joomla triggers it itself.

Does any of this options appears valid?

 
Wednesday, 15 April 2015 17:18 UTC
Kannan1976
Hi,

The error log page, is the custom error page i set in sh404sef config, i have a file named error.php in my template folder.

the url blog/17-women-in-sanatana-dharma-hinduism does not exist in the url manager, only blog/women-in-sanatana-dharma-hinduism (without the id) exists in the url manager

ok, nevermid the old url, i just did a test with random url - http://www.XXXXX.org/orange-is-the-new-pink , sh404sef should log this, but it didn't

is that a screenshot from my admin area? because i don't use acymailing :)
Wednesday, 15 April 2015 18:24 UTC
wb_weeblr
Hi

The error log page, is the custom error page i set in sh404sef config, i have a file named error.php in my template folder.
Nope, this is NOT sh404SEF error page. This: https://weeblr.com/images/screenshots/T49ah0mlY1gbMUKIojG2aclvET3L4W.png cannot be generated by sh404SEF.

is that a screenshot from my admin area? because i don't use acymailing :)
No of course, this was an example of the setting in sh404SEF configuration that I was asking you to check, which would explain why you're seeing Joomla 404 handling instead of sh404SEF 404 handling

That's when I realized it'd be quicker to just go and check, so here you go: https://weeblr.com/images/screenshots/ZcS9iesNJ0B983qGN8akHTXg29QLth.png

This why you're seeing Joomla 404 page instead of sh404SEF, and that 404s are not recorded. The "Questions" and "Weblinks" components are set to "Use Joomla router". If you use Joomla router, you get Joomla 404 page and sh404SEF cannot record 404s.

Rgds
 
Wednesday, 15 April 2015 20:23 UTC
Kannan1976
Hi,

Thank you very much for your assistance, yup that was the culprit :) After changing to use default handler, 404 error logs works like a charm.

Thanks again.

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.