trailing slash with SEO on?
Minor issue in my cpanel error logs.
Version: 5.1.16
URL:
|
RF
Member Usergroup: Customer Joined: Dec 23, 2009 Total Topics: 9 Total Posts: 15 |
Posted 12/29/09 - 7:51 AM:
Subject: 404 UPDATE: Ahh... raw access logs is showing a 404 error, but not with any slashes. FROM LOGS: -0500] "GET /5/templates/images_default/loadingAnimation.gif HTTP/1.1" 404 - String search is only showing one file with this .gif - /jquery/thickbox-compressed.js var tb_pathToImage = "{PATH}loadingAnimation.gif". I think this is my trouble (maybe for others too). Resolved: Removed the {PATH} and hardcoded. No more 404 errors. ORIGINAL POST: My cpanel logs are showing tons of 404 errors with 5.1 w/SEO set to yes: File does not exist: /home/abc/public_html/site.cc/404.shtml, referer: http://site.cc/examples/ File does not exist: /home/abc/public_html/site.cc/examples, referer: http://site.cc/example/ Did a clean temp install of 5.0 then upgraded to 5.1 to troubleshoot as to eliminate any customizations on my part(.htaccess and other files). Issue is observed only with 5.1 w/SEO on after upgrade. May be my shared server host setting. I'm currently looking at Not a PHP / .htaccess expert, by any means, so if anyone can save me a few hours- more like days - it would be much appreciated. Thanks -Rich Edited by RF on 12/29/09 - 8:29 PM. Reason: update |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 12/30/09 - 7:39 AM:
The loadinganimation.gif issue happens when URL rewriting is on because it looks at the wrong path. I noticed this a few days ago and it's already fixed in 5.1.17 beta 1 (though it's not a significant thing, just means no loading indicator in the search box). Category URLs without a trailing slash should automatically redirect to the versions with a trailing slash. For example, if you go to http://links.webmastersite.net/web-design you'll find yourself arriving at http://links.webmastersite.net/web-design/ . Is that redirection not happening on your site? Or could these be actually invalid urls for nonexistant categories that it's listing? |
|
RF
Member Usergroup: Customer Joined: Dec 23, 2009 Total Topics: 9 Total Posts: 15 |
Posted 12/30/09 - 3:25 PM:
Paul wrote: Is that redirection not happening on your site? Or could these be actually invalid urls for nonexistant categories that it's listing? Paul, redirection is/was working fine. I initially misinterpreted the 404 error in my cpanel logs as they just referred URLs. Raw server logs included a little more detail with the loadinganimation.gif path. Like you stated, no issues from the frontend. Sorry for the initial misleading post title. Thanks! Rich Edited by RF on 12/30/09 - 3:27 PM |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print