Forum Moderators: phranque

Message Too Old, No Replies

Changing the Domin name

         

krish1

5:39 am on Aug 13, 2012 (gmt 0)

10+ Year Member



Hi Everyone,

I have a requirement, where i need to redirect URLs from one site to ather site,

i.e, something like, from www.example.com/home/media/press to www.exampleone.com/u/g/releses (nearly 200 URLs like this)


But after redirecting the URL to the new domain , i.e exampleone.com, the Domain name in the URL should be the old domain name only


when i redirect www.example.com/home/media/press to www.exampleone.com/u/g/releses

in the address bar it should look like
www.example.com/u/g/releses

Thanks in Advance

phranque

10:08 am on Aug 13, 2012 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



i think you can only do this if you have both hostnames hosted on the same server using a combination of mod_rewrite redirects and rewrites or if you rewrite the requests to the other server through mod_proxy.