Domain to Domain Redirect

Status
Not open for further replies.

maclason

Member
14
2014
0
0
I know the process but worried about 301 redirection.

Kindly tell me the process.
Do I have to do
redirect 301 old url new domain url (1 by one)
Or only redirect domain, so it can redirect all url itself?

Kindly suggest me
 
15 comments
if all your destination URLs are exactly the same on the new domain then you can redirect the domain but if your URLs are different on the new domain from the origin then you'll need to redirect one by one. Hope that helps :)

Put this in your .htaccess file if you want to redirect the whole domain
RewriteEngine onRewriteCond %{HTTP_HOST} ^origindomain.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.origindomain.com [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301,NC]
 
You config the redirect domain in your registrar then all URL in that domain will be redirect to new domain too.
 
If you have to change your domain name, the redirect it's the best thing you can do.

By doing this, you'll maintain some of the SEO made before, and the impact will be way less (10% to 15%).

This code in your .htaccess file will make this:


#This for the domain
Redirect 301 / Example Domain
#This for the folders
Redirect 301 /old-folder http://www.example.com/new-folder

If you're redesigning or just moving, I recommend you to follow (or at least, see) some of this tips: http://cursosgoogleecuador.com/wp-c...r-Website-Without-Losing-Traffic-or-Sales.jpg
 
The best way to do that's using .htaccess

__________________
Added after 2 minutes:

check this
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
RewriteCond %{HTTP_HOST} ^Example Domain [NC]
RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]
full domain 301 redirect

RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
RewriteCond %{HTTP_HOST} ^Example Domain [NC]
RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]
full domain 301 redirect
 
Last edited:
Status
Not open for further replies.
Back
Top