HELP with 301 redirects using .htaccess !

Gecko

Well-known member
Registered
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.
 

Luxin Host

Well-known member
Registered
Joined
Jun 26, 2016
Messages
543
Points
43
I dont know a way for you to keep ranking, PR, index, etc on the olddomain.com if you are doing a 301 redirect to a new domain. (would love to know if it can be done)
After doing a 301 redirect all the link juice, index, PR etc will be transferred over to the new domain both for humans and for search engine bots. Sometimes this transfer is not instant with search engines as it needs to crawl your website again and find the 301 redirection.
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
Ok, I've been looking into this.

A 301 direct will transfer domain authority, visitors, links juice and also your rankings in Google, so it appears this issue fixes it's self.
As luxin said the old domain will become the new domain in terms of SEO.
 

GswHosting

Well-known member
Registered
Joined
Aug 23, 2016
Messages
233
Points
0
Is PR still running?
For complete site redirection use this .htaccess
1 #Options +FollowSymLinks
2 RewriteEngine on
3 RewriteRule ^(.*)$ http://www.newsite.COM/$1 [R=301,L]

Didn't find anything else, hope this help
 

GswHosting

Well-known member
Registered
Joined
Aug 23, 2016
Messages
233
Points
0
O yes search forum I was see one post with another way to redirect site.
can remember which one but Im thinking is something about www non www.
 
Older Threads
Replies
11
Views
2,804
Replies
14
Views
5,106
Replies
6
Views
4,265
Replies
6
Views
4,189
Replies
13
Views
4,439
fwh
Newer Threads
Latest Threads
Replies
0
Views
128
Replies
4
Views
168
Replies
13
Views
475
Similar Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top