Redirect visitor with .htaccess
Posted
by Aaron
on Stack Overflow
See other posts from Stack Overflow
or by Aaron
Published on 2010-04-26T13:22:07Z
Indexed on
2010/04/26
13:23 UTC
Read the original article
Hit count: 286
Hi all,
I've got an e-shop on a virtual server that's been used as a subdirectory for the last few years, but now I'm finally giving the VS it's own domain name. What I really need is visitors to the old URL to be transparently (and 301) redirected to the new URL with everything after /eshop/ maintained and apended to the new host.
I.e. http://www.example.com/eshop/page.php -> http://www.newdomain.com/page.php
Any help would be greatly appreciated.
© Stack Overflow or respective owner