I have to redirect a site from another site.
I am using PHP5 with Apache 2 on a Debian Server.
Example:
If an user go to: shop.oldsite.com, should be redirected to http://52.10.32.45:8081/shop/.
I’ve tried with htaccess file and redirect 301, but i see the new address and I wish to hide the new address and keep shop.oldsite.com without broking SEO links (the spiders should go to shop.oldsite.com and redirect to new site).
Is it possible?
EDIT1: Thank you, for your answers. I’ll look if Aruba (an Italian Hosting) supports mod_proxy and i’ll let you know.
You can use mod_redirect with ‘P’ for proxy and have to enable mod_proxy