- Joined
- Aug 25, 2016
- Messages
- 364
- Points
- 0
Hey everyone! I am having a hard time finding out exactly the answers I need for some 301 redirects, so I am hoping some of the experts here can give me a little helpful information or at least point me in the right direction.
I need to setup some 301 redirects in .htaccess but I am not that familiar with how exactly to do what I want to do.
What I want to do is redirect specific pages from one website/domain to another AND redirect the index page to the index page of the other website/domain. I don't want to do just a simple 301 redirect because I want the indexed pages from the old site not to loose their ranking and also the new URL's are a little different, and that's why I need 301's for specific pages. If I do a normal 301 for the whole site then the indexed pages and their rankings will go bye, bye.
Here is what I need help with. I need:
VIA .htaccess
OLDwebsite.com to 301 to NEWwebsite.com
AND THEN INDIVIDUAL PAGES
OLDpage1.com to 301 to NEWpage1.com
OLDpage2.com to 301 to NEWpage2.com
OLDpage3.com to 301 to NEWpage3.com
And so on.
As of this moment I have the code below and it works but I am sure it's not completely correct.
Redirect 301 / http://NEWwebsite.com/
AND THEN INDIVIDUAL PAGES
Redirect 301 /OLDpage1/ NEWpage1.com/
Redirect 301 /OLDpage2/ NEWpage2.com/
Redirect 301 /OLDpage3/ NEWpage3.com/
I have searched Google for hours for the info I need with only a piece here and there and i get even more confused.
Any help will be very, very much appreciated.
I need to setup some 301 redirects in .htaccess but I am not that familiar with how exactly to do what I want to do.
What I want to do is redirect specific pages from one website/domain to another AND redirect the index page to the index page of the other website/domain. I don't want to do just a simple 301 redirect because I want the indexed pages from the old site not to loose their ranking and also the new URL's are a little different, and that's why I need 301's for specific pages. If I do a normal 301 for the whole site then the indexed pages and their rankings will go bye, bye.
Here is what I need help with. I need:
VIA .htaccess
OLDwebsite.com to 301 to NEWwebsite.com
AND THEN INDIVIDUAL PAGES
OLDpage1.com to 301 to NEWpage1.com
OLDpage2.com to 301 to NEWpage2.com
OLDpage3.com to 301 to NEWpage3.com
And so on.
As of this moment I have the code below and it works but I am sure it's not completely correct.
Redirect 301 / http://NEWwebsite.com/
AND THEN INDIVIDUAL PAGES
Redirect 301 /OLDpage1/ NEWpage1.com/
Redirect 301 /OLDpage2/ NEWpage2.com/
Redirect 301 /OLDpage3/ NEWpage3.com/
I have searched Google for hours for the info I need with only a piece here and there and i get even more confused.
Any help will be very, very much appreciated.