How to make 301 Permanent redirect

DimeMK

Newbie
Joined
Apr 6, 2012
Messages
13
Reaction score
2
Hello there, I want to make redirect my olddomain to my newdomain , but want to keep the page rank and to be completely redirect ( on each post and page). So on the same host to completely redirect old to new domain.

I have done in "redirect options in the host" but there is only on the Home Page, also in webmastertools I make a new domain and transfer the old to new (in the options). But I lost the pr,visits... When I try to search on google for any keyword it gives me results from old domain (so I want that results to go to the new domain - redirect)

Any solutions ?

Sorry for bad english
 
Use .htaccess to make a 301 redirect from old to new domain

I used the instructions here;
Code:
https://my.justhost.com/cgi/help/htaccess_redirect
 
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

try that, make a htcaccess file, plop that in, change the domain.coms, and save it to your root
 
If you use cPanel hosting you can make the 301 redirect from your Adon domains submenu, or you can park the domain and then do the 301 redirect from the parked domains submenu. Hope this helps.:) It's easier than using .htaccess, but it's a good thing to have options!
 
Thanks to all I did it with htaccess code :)
 
Back
Top