Webmastersite.net
Register Log In

trailing slash with SEO on?
Minor issue in my cpanel error logs.

Comments on trailing slash with SEO on?

RF
Member

Usergroup: Customer
Joined: Dec 23, 2009

Total Topics: 8
Total Comments: 19
RF
404
Posted Dec 29, 2009 - 7:51 AM:

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 .htaccess & category.php coding (ruled this out after copy 5.0 files to 5.1 and issue stays with 5.1) to see if a backslash is being stripped out or how I can add one in to satisfy my host.

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Dec 30, 2009 - 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: 8
Total Comments: 19
RF
Posted Dec 30, 2009 - 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
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.