Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

301 redirect...

SpaceshipSpaceship
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
DomainEasy: white label portfolios are live. Enable yours.

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