NameSilo

301 redirect...

Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
Namecheap AuctionsNamecheap Auctions
Watch

scopeweb

Established Member
Impact
13
This may be going over old ground, but can someone explain to me how to do a 301 redirect from one domain to another.

Thanks in advance!
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.newdomain.com" );
?>
 
0
Close
Rush said:
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.newdomain.com" );
?>

Do I place this code into the html index page?

Okay folks thanks for your help have got the answers I needed, Job sorted!


Thanks
 
0
Close
scopeweb said:
Do I place this code into the html index page?

Okay folks thanks for your help have got the answers I needed, Job sorted!


Thanks

i believe it goes in your .htaccess file.
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back