9 replies
Quick summary:
I had a pet domain that was beginning to rank rather well. I wanted to expand the site so I changed the name of the domain, and simply did a permanent redirect from the old domain name to the new one, so now when I type in the old domain, it takes me to my new one.
My question: I had a lot of prominant backlinks pointed to the old domain and I want to know if there is anything I can do, via .htaccess or other method to point the "old domain links" to various pages on my new site? Cheers.
Jon
#301? #redirect #seo #url
  • Profile picture of the author webapex
    In place of the general redirect, I believe you can create a redirect for each old url pointing to the new one. Presumably this is done on your server account and not at the registrar where you may have done the 301.
    Signature

    “An expert is a person who has made all the mistakes that can be made in a very narrow field” Niels Bohr

    {{ DiscussionBoard.errors[4612977].message }}
  • Profile picture of the author Mr BOLD
    yes you will have to do the page level redirect from each old page to the new page. and when you don't have a new page corresponding to the old page you redirect that page to the new home page. that should be enough to pass the link juice to the new domain.
    {{ DiscussionBoard.errors[4613720].message }}
    • Profile picture of the author dave_hermansen
      It's always best practice to also verify ownership of BOTH domains in your webmaster tools account & indicate that you are changing addresses.

      Signature
      BizSellers.com - The #1 place to buy & sell websites!
      We help sellers get the MAXIMUM amount for their websites and all buyers know that these sites are 100% vetted.
      {{ DiscussionBoard.errors[4613820].message }}
  • Profile picture of the author NerdGary
    If its a PHP page.. just add this code:

    Code:
    <?php 
    header("location: http://www.yoursite.com"); 
    ?>
    Signature



    <><>-----------------------------------------<><>
    {{ DiscussionBoard.errors[4613763].message }}
  • Profile picture of the author murrad
    Try this code on your .htaccess file.

    #Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www.olddomain.com$[OR]
    RewriteCond %{HTTP_HOST} ^olddomain.com$
    RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]


    Hope this code will solve your problem.
    Signature

    Environment friendly Paper cup machine

    {{ DiscussionBoard.errors[4613914].message }}
  • Profile picture of the author lutherlars
    wow guys thanks for feedback here:
    The old site was drupal based, the new one is wp based does this make a difference?
    Also, in webmaster tools, I have varified both sites, how to I tell google that the old one is now the new one? thanks.
    {{ DiscussionBoard.errors[4614181].message }}
    • Profile picture of the author dave_hermansen
      It really doesn't matter what software was running each website. Assuming that there's no code in the htaccess files that will affect the way the 301 redirects work.

      Here's a guide that might help you: Do a 301 Redirect Using Your htaccess File

      FYI, on the old server you should have the servers completely blank besides the htaccess that has the 301 redirect code in it.

      Again, verify ownership of both domains in your webmaster tools account & notify Google of the change of address in your webmaster tools account as well.
      Signature
      BizSellers.com - The #1 place to buy & sell websites!
      We help sellers get the MAXIMUM amount for their websites and all buyers know that these sites are 100% vetted.
      {{ DiscussionBoard.errors[4614320].message }}
    • Profile picture of the author dave_hermansen
      Originally Posted by lutherlars View Post

      Also, in webmaster tools, I have varified both sites, how to I tell google that the old one is now the new one? thanks.
      Within your webmaster tools account you do it at: Site configuration > Change of address

      It's really the guidelines for doing a move correctly rather than an actual form to notify Google of the move.
      Signature
      BizSellers.com - The #1 place to buy & sell websites!
      We help sellers get the MAXIMUM amount for their websites and all buyers know that these sites are 100% vetted.
      {{ DiscussionBoard.errors[4614343].message }}
    • Profile picture of the author Brian Alaway
      Originally Posted by lutherlars View Post


      Also, in webmaster tools, I have varified both sites, how to I tell google that the old one is now the new one? thanks.
      In WMT click on the site then Site configuration>Settings and set the preferred domain.
      {{ DiscussionBoard.errors[4614358].message }}

Trending Topics