Moved X-cart site to Sub Directory - Need Help setting up Redirects

Posted by Rich G on Stack Overflow See other posts from Stack Overflow or by Rich G
Published on 2013-11-03T21:51:46Z Indexed on 2013/11/03 21:52 UTC
Read the original article Hit count: 224

Filed under:
|
|
|
|

I recently moved an x-cart site from a root directory to a sub directory, and also built a new Wordpress site under the root directory. The problem I am having is that I am trying to figure out a redorect combo that will show the search engines that the product pages are now under the sub directory (/store) but do not want the search engines to exclude the brand new site under the Root directory.

I was thinking that if I could just have redirect any .html file (all of the product pages link to .html pages) that it would redirect to the same page just under the sub directory. The reason I cannot do everything one by one is because there are about 50k+ products that would need be changed.

Any information and help would be greatly appreciated! Thank you in advanced!

© Stack Overflow or respective owner

Related posts about php

Related posts about Wordpress