Change website URL

atehleb

Newbie
Joined
Feb 1, 2011
Messages
29
Reaction score
6
Hey there,
I had a website in a certain niche, but now i have created another website in the same niche.
Do you guys think that if I do a 301 redirect from my previous website to the new one...the backlinks etc that I had created for the old one...will in essence become backlinks for the new website?
 
Yes, 301 is a way to go.

I have 301 my Pr4 site in the past and it went without any problem. However, I did see a drop in rankings for a week or so.
 
that is correct. 301 is the only way to transfer PR value to the new domain. in general it is much better to set a page to page 301 than all pages 301 to home.
 
Correct. I lost my link juice once because I was lazy. .org to .com change.
 
Here's a script to 301 all of your old pages on a page by page basis to your new site so all your backlinks are credited. Fill in your domain name and insert this at the very top of each of your pages, before the opening doctype or <html> tags.

PHP:
<?php

// Your new domain eg www.newdomain.com
$new_domain = 'newdomain.com';

// Work out what new location will be
$new_location = "http://$new_domain". $_SERVER['REQUEST_URI'];

// Do 301 redirect
header("HTTP/1.1 301 Moved Permanently");
header("Location: $new_location");

?>

This is an abbreviated version of the script we developed in this thread.
 
Here's a script to 301 all of your old pages on a page by page basis to your new site so all your backlinks are credited. Fill in your domain name and insert this at the very top of each of your pages, before the opening doctype or <html> tags.

Thx a lot for this info!
 
Here's a script to 301 all of your old pages on a page by page basis to your new site so all your backlinks are credited. Fill in your domain name and insert this at the very top of each of your pages, before the opening doctype or <html> tags.

PHP:
<?php

// Your new domain eg www.newdomain.com
$new_domain = 'newdomain.com';

// Work out what new location will be
$new_location = "http://$new_domain". $_SERVER['REQUEST_URI'];

// Do 301 redirect
header("HTTP/1.1 301 Moved Permanently");
header("Location: $new_location");

?>
This is an abbreviated version of the script we developed in http://www.blackhatworld.com/blackhat-seo/cloaking-content-generators/295443-getting-sued-need-redirect-bots-new-domain-but-user-must-see-blank-page-how.html.
thanks bro. i'll use this in a future.
 
Back
Top