.htaccess - Mask www.oldsite.com/home with www.newsite.com -
.htaccess - Mask www.oldsite.com/home with www.newsite.com -
how can mask instances of www.oldsite.com replaced www.newsite.com
example:
i'd replace: http://www.oldsite.com/home/b.jsp?id=9912&ln=115-991632
with www.newsite.com/home/b.jsp?id=9912&ln=115-991632
you can in apache redirect directive:
<virtualhost *:80> servername www.oldsite.com redirect permanent /home/ http://www.newsite.com/home/ </virtualhost>
.htaccess redirect mask
Comments
Post a Comment