Trailing Slash - 301 Redirect - Google SEO
Posted: Tue May 14, 2013 5:25 am
If you are not familiar with this subject please read this article here:
http://googlewebmastercentral.blogspot. ... er-10.html
I am using VS 1.5.5.1 & what I am trying to do is add a trailing slash after each category by writing a redirect code in the .htaccess file but not after a product url or file name that ends in: .php, htm, html
Also I am forcing the site to redirect to www & not non www & also redirecting
http://www.example.com/index.php to http://www.example.com/
For more info on this go to http://support.google.com/webmasters/bi ... swer=44231
But i have tried every code combination out there to do this, my host says it is the way opencart is built that it is not letting me do this, I cant believe that yet, do any of you have the htaccess code to do this - add a trailing slash after each category by writing a redirect code in the .htaccess file but make an exception for a product url or file name that ends in: .php, htm, html ?
My host says I should for every category add a RewriteCond %{REQUEST_URI} that is not a good way to do this, so any help out there ?
Is opencart's design blocking this from happening ?
Maybe this can be built in to 1.5.5.2 to reduce duplication and have better SEO ?
http://googlewebmastercentral.blogspot. ... er-10.html
I am using VS 1.5.5.1 & what I am trying to do is add a trailing slash after each category by writing a redirect code in the .htaccess file but not after a product url or file name that ends in: .php, htm, html
Also I am forcing the site to redirect to www & not non www & also redirecting
http://www.example.com/index.php to http://www.example.com/
For more info on this go to http://support.google.com/webmasters/bi ... swer=44231
But i have tried every code combination out there to do this, my host says it is the way opencart is built that it is not letting me do this, I cant believe that yet, do any of you have the htaccess code to do this - add a trailing slash after each category by writing a redirect code in the .htaccess file but make an exception for a product url or file name that ends in: .php, htm, html ?
My host says I should for every category add a RewriteCond %{REQUEST_URI} that is not a good way to do this, so any help out there ?
Is opencart's design blocking this from happening ?
Maybe this can be built in to 1.5.5.2 to reduce duplication and have better SEO ?