This project is to produce some code that can be added to an existing .htaccess file to produce the required 301 redirection.
We have an existing cubecartv3 e-commerce store www.savoytimber.com that is using mod-rewrite to create seo friendly URLs. The site works well is very well indexed and rated by Google.
We have developed a new store to cover some of the products in the original store (specifically doors) – this uses cubecartv4 www.savoydoors.co.uk/index.php (note the index.html file redirects to the original store while under development). This site is also using mod-rewrite to produce seo friendly URLs.
The products have been copied from the old store to the new one and the product IDs are the same. To make the site live we want to be able to 301 redirect all the moved product pages from the old site to the new one (not the entire site). Two example URLs:
www.savoytimber.com/door-furniture/cat_139.html
should 301 redirect to
www.savoydoors.co.uk/door-furniture/cat_139.html
However, simply applying a 301 redirect in the htaccess file does not work correctly. See below:
Redirect 301 /door-furniture/ http://www.savoydoors.co.uk/door-furniture/
redirects to:
http://www.savoydoors.co.uk/door-furniture/index.php?_a=viewCat&catId=139
The correct page is displayed but the URL is not the SEO friendly URL that we require. This could cause problems with duplicate pages in Google.
In addition applying the above redirect to over 800 products is not ideal.
This project is to come up with the htaccess code that will allow the redirect to the seo friendly destination URL for the 800+ products.
See attached current htaccess files from both stores.
Also attached is the list of URLs to be redirected – they are all either /door-furniture or /interior-exterior-doors
NOTE: You will not have direct access to the site or the htaccess file, but I can test your solution and feedback.