Guest Posted March 9, 2009 Share Posted March 9, 2009 I've been experiencing a large number of 404 errors on my site, at random. Ive tried from multiple locations, and my errors logs indicate that this is happening on a very regular basis to customers. I can click on a product, and I'll get 404-Page Not Found, then if I refresh it will work fine. From another PC that particular product may work fine, but another product will give me a 404 error. I came to the conclusion that this was a hosting issue, and have logged it as a fault. However, they have come back with the following, which I must admit makes no sense at all to me; --------------------- Hello David, Thank you for contacting SiteGround's Support team. I have checked your website for those errors that you mentioned and I found that they appear to apply only on a certain products with an ".html" suffixes in their URL addresses. For example product with URL address http://www.mysite.com/product_info.php?products_id=334 or http://www.mysite.com/product_info.php?products_id=332 works normally as expected but this one as you reported: http://www.mysite.com/productname-p-334?osCsid.html will not work properly because of the fact that your webpage is not configured to work with such URLs for the products on your page. Please, note that these rules for URL addresses are handled by the .htaccess file for those application and it should be re-configured in order your webpage to work properly. --------------------- In a second email they went on to say; ---------------------- I can confirm that this issue is caused by a misconfiguration in the URLs that uses .htaccess for rewrite rules. Please, check the following url address: http://www.mysite.com/productname-p-334?osCsid.html It will not work if you do not delete the string "?osCsid". In order to fix this, please check your URL addresses setup in order to page sure that they do not use this string in question. If you need further help, please do not hesitate to contact us again. Best Regards, ---------------------- Does anyone know what they are talking about, and why this error is happening at random? Link to comment Share on other sites More sharing options...
crxvfr Posted March 9, 2009 Share Posted March 9, 2009 I've been experiencing a large number of 404 errors on my site, at random. Ive tried from multiple locations, and my errors logs indicate that this is happening on a very regular basis to customers. I can click on a product, and I'll get 404-Page Not Found, then if I refresh it will work fine. From another PC that particular product may work fine, but another product will give me a 404 error. I came to the conclusion that this was a hosting issue, and have logged it as a fault. However, they have come back with the following, which I must admit makes no sense at all to me; --------------------- Hello David, Thank you for contacting SiteGround's Support team. I have checked your website for those errors that you mentioned and I found that they appear to apply only on a certain products with an ".html" suffixes in their URL addresses. For example product with URL address http://www.mysite.com/product_info.php?products_id=334 or http://www.mysite.com/product_info.php?products_id=332 works normally as expected but this one as you reported: http://www.mysite.com/productname-p-334?osCsid.html will not work properly because of the fact that your webpage is not configured to work with such URLs for the products on your page. Please, note that these rules for URL addresses are handled by the .htaccess file for those application and it should be re-configured in order your webpage to work properly. --------------------- In a second email they went on to say; ---------------------- I can confirm that this issue is caused by a misconfiguration in the URLs that uses .htaccess for rewrite rules. Please, check the following url address: http://www.mysite.com/productname-p-334?osCsid.html It will not work if you do not delete the string "?osCsid". In order to fix this, please check your URL addresses setup in order to page sure that they do not use this string in question. If you need further help, please do not hesitate to contact us again. Best Regards, ---------------------- Does anyone know what they are talking about, and why this error is happening at random? Have you added some kind of addon that appends html to your pages? Have you edited your .htaccess file? No to both? I would check the settings (paths) in your config files. Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2009 Share Posted March 9, 2009 Have you added some kind of addon that appends html to your pages?Have you edited your .htaccess file? No to both? I would check the settings (paths) in your config files. I cant think of any addons that would do what you are suggesting, I dont suppose you have any suggestiojns as to whcih common ones could cause this? .htaccess file hasnt been edited asside from a change for SSL over 2 years ago. Which settings/paths should I be checking? Link to comment Share on other sites More sharing options...
morehawes Posted March 9, 2009 Share Posted March 9, 2009 Hi, I went on your site to take a look and it appears to only be occurring when I visit for the first time (i.e. cache/cookies/session cleared). If I do this, the session ID is being appended to the URL in the form : <your_url>/product_info.php?products_id=334?osCsid=3b17a1be8cd1dc621aeef6f457dde482 This query string seems to upset the contribution you use to rewrite your URLS (Ultimate SEO URLs perhaps?) and it creates a malformed URL. Once there is a session though the problem does not occur and your URLs display like so: <your_url>/digger-bookend-p-329.html Have you tried turning on force cookie usage in admin under configuration > sessions? Because that should stop the session id from being in the URL in the first place. But I can't understand why the link contains product_info.php in this case and not the nice SEO version. Are you using Ultimate SEO URLs? Because I think thats where you should be looking. Joe MacMan strikes again! Always backup first before listening to me! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.