NameSilo

301 redirect...

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
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
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back