NameSilo

301 redirect...

SpaceshipSpaceship
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
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: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back