All-
OK, I am using MM 5.5 and have SEO URLs enabled (basically using website.com/product/product-code.html or website.com/category/category-name.html). Everything is working fine, but I need to adjust the htaccess file to do some 301 redirects on the old site's pages. So I added the Redirect 301 code to the top of the htaccess file like so:
Redirect 301 /shop.html http://www.website.com/
Hoping that when someone goes to the shop.html page (the old site's home page), it will redirect to the home page. Then the MM htaccess code is below it. The problem is when I go to the URL of shop.html, instead of redirecting to the home page, I get the following message in the main content:
Page 'SFNT?Screen=shop' no longer exists.
I assume someone else has both enabled the SEO URLs and set up 301 redirects like this. Any tips on how to do this? The site is www.wetsuitsonsale.com and the full htaccess code is below.
Thanks in advance.
-Bill
OK, I am using MM 5.5 and have SEO URLs enabled (basically using website.com/product/product-code.html or website.com/category/category-name.html). Everything is working fine, but I need to adjust the htaccess file to do some 301 redirects on the old site's pages. So I added the Redirect 301 code to the top of the htaccess file like so:
Redirect 301 /shop.html http://www.website.com/
Hoping that when someone goes to the shop.html page (the old site's home page), it will redirect to the home page. Then the MM htaccess code is below it. The problem is when I go to the URL of shop.html, instead of redirecting to the home page, I get the following message in the main content:
Page 'SFNT?Screen=shop' no longer exists.
I assume someone else has both enabled the SEO URLs and set up 301 redirects like this. Any tips on how to do this? The site is www.wetsuitsonsale.com and the full htaccess code is below.
Thanks in advance.
-Bill
Code:
Redirect 301 /shop.html http://www.wetsuitsonsale.com/ RewriteEngine on RewriteCond %{HTTP_HOST} !^www.wetsuitsonsale.com$ [NC] RewriteRule ^(.*) http://www.wetsuitsonsale.com/$1 [L,R=301] ### Begin - Inserted by Miva Merchant DirectoryIndex /mm5/merchant.mvc?Screen=SFNT RewriteEngine On RewriteRule ^mm5/admin.mvc? - [L] RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^product/([^/.]+).html$ /mm5/merchant.mvc?Screen=PROD&Product_code=$1 [L] RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^category/([^/.]+).html$ /mm5/merchant.mvc?Screen=CTGY&Category_code=$1 [L] RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^product/([^/]+)/([^/.]+).html$ /mm5/merchant.mvc?Screen=PROD&Category_code=$1&Product_code=$2 [L] RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^([^/.]+).html$ /mm5/merchant.mvc?Screen=$1 [L] ### End - Inserted by Miva Merchant
Comment