1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to make 301 Permanent redirect

Discussion in 'Black Hat SEO' started by DimeMK, May 12, 2012.

  1. DimeMK

    DimeMK Newbie

    Joined:
    Apr 6, 2012
    Messages:
    13
    Likes Received:
    2
    Home Page:
    Hello there, I want to make redirect my olddomain to my newdomain , but want to keep the page rank and to be completely redirect ( on each post and page). So on the same host to completely redirect old to new domain.

    I have done in "redirect options in the host" but there is only on the Home Page, also in webmastertools I make a new domain and transfer the old to new (in the options). But I lost the pr,visits... When I try to search on google for any keyword it gives me results from old domain (so I want that results to go to the new domain - redirect)

    Any solutions ?

    Sorry for bad english
     
  2. ezines

    ezines Power Member

    Joined:
    Jan 3, 2011
    Messages:
    712
    Likes Received:
    216
    Occupation:
    Online/Offline
    Location:
    Somewhere On Earth
    Use .htaccess to make a 301 redirect from old to new domain

    I used the instructions here;
    Code:
    https://my.justhost.com/cgi/help/htaccess_redirect
     
    • Thanks Thanks x 1
  3. markhenry121

    markhenry121 Elite Member

    Joined:
    Oct 14, 2011
    Messages:
    2,149
    Likes Received:
    239
    Check out this here you can find out more information somacon.com/p145.php
     
    • Thanks Thanks x 1
  4. NeoPat

    NeoPat Power Member

    Joined:
    Oct 29, 2011
    Messages:
    641
    Likes Received:
    164
    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^domain.com [nc]
    rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

    try that, make a htcaccess file, plop that in, change the domain.coms, and save it to your root
     
    • Thanks Thanks x 1
  5. Chad Vader

    Chad Vader Newbie

    Joined:
    May 14, 2012
    Messages:
    2
    Likes Received:
    1
    Location:
    Not so Dark Side of The Force
    If you use cPanel hosting you can make the 301 redirect from your Adon domains submenu, or you can park the domain and then do the 301 redirect from the parked domains submenu. Hope this helps.:) It's easier than using .htaccess, but it's a good thing to have options!
     
    • Thanks Thanks x 1
  6. DimeMK

    DimeMK Newbie

    Joined:
    Apr 6, 2012
    Messages:
    13
    Likes Received:
    2
    Home Page:
    Thanks to all I did it with htaccess code :)