holydragon Posted April 3, 2008 Posted April 3, 2008 Gentlemen, I’ve installed the Ultimate SEO add-on and followed it to the letter of the law (including the modification to the .htacess file.). Everything has been working flawlessly; however, I tried to demonstrate the site to someone using their PC and I received a few 404 page not found errors. Here is what I observed. The target URL should have been: www.mysite.com/seo-page.html When the error occurred the url read www.mysite.com/seo-page?osCsid.html (ACTUAL INFO: undergarment-product-p-34?osCsid.html) I then went back to my system and tested the add on in Firefox and IE and did not encounter the error. Last, I did run into the error once and simply refreshed the page and it went away; however, it occurs every single time on my colleagues PC (Using IE) Any thoughts? Any help would be greatly appreciated. Here is the .htacess file # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # <IfModule mod_php4.c> php_value session.use_trans_sid 0 php_value register_globals 1 </IfModule> <IfModule mod_php5.c> php_value session.use_trans_sid 0 php_value register_globals 1 </IfModule> Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}
holydragon Posted April 3, 2008 Author Posted April 3, 2008 Problem solved... the issues occurred when someone access the non canonical URL mysite.com instead of www.mysite.com I simply did an htacess rewrite to address the issue RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]
Recommended Posts
Archived
This topic is now archived and is closed to further replies.