Different Domain Individual 301 Redirects

Avatar
  • Answered
I have been trying to solve this for almost 2 months now after being assured originally that it could be done.

How can I set up multiple 301 redirects between 2 different websites/domains? For example:

www.website1.com/home TO www.website2.com/home
www.website1.com/products TO www.website2.com/products
www.website1.come/products/cheese TO www.website2.com/products/cheese

So if someone went onto google and type "site:www.website1.com" and it brought up all the various links, upon clicking one, they'd be redirected to the appropriate new page, rather than always being forwarded to the homepage or to nothing. There has to be a way that this can be done.

Why? You might ask. We're currently going through a rebranding and shutting down website 1 in favour of website 2, however website 1 has a significant amount of individual page and domain authority which we want to translate and correlate over to the new, website 2.

I have tried both cPanel Redirection AND .htaccess redirection but neither are working properly (with the exception of cPanel Redirection sending users to the homepage of the new site)
Avatar
anonymous
Hello,

I apologize that you have been working on this issue for 2 months. Can you try this .htaccess code below to see if it will help you as it should.

RewriteEngine on
RewriteBase /
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]

I really hope this helps you out so this problem will be done and resolved.

Best Regards,
TJ Edens