Jump to content

Redirecting Subfolder Installation With 301 Redirect To Subdomain Installation?! How?!


Recommended Posts

This is what I've had up until now:

 

www.domain.com/storefront/....

 

as the store path.

 

But I've decided to replace that with

 

store.domain.com/....

 

instead.

 

Now, how do I properly 301 redirect / rewrite that so that any indexed item like:

 

www.domain.com/storefront/category/item.html

 

gets properly redirected to 

 

store.domain.com/category/item.html

 

Any suggestions???

 

And I assume I would put that rule in www.domain.com/.htaccess file, right?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...