Idea on site redirection?

RobertClive

New member
Joined
Feb 18, 2013
Messages
55
Points
0
Hiiiiii

Anyone in the domain has an idea on how to redirect a domain from one site to another domain name?
 

HostNurse

New member
Joined
Aug 9, 2012
Messages
376
Points
0
You can redirect an old domain to a new domain by inserting the following code into the old domain .htaccess file:

Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^olddomain.com [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]
 
Older threads
Replies
8
Views
10,361
Replies
0
Views
3,258
Replies
3
Views
3,692
Latest threads
Replies
3
Views
1,574
Replies
2
Views
815
Replies
4
Views
1,816
Replies
2
Views
807
Recommended threads
Replies
21
Views
7,309
Replies
6
Views
2,839
Replies
5
Views
2,824
Replies
1
Views
7,705
Similar threads

Referral contests

Referral link for :

Sponsors

Popular tags

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