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

How to 301 redirect?

Discussion in 'Black Hat SEO' started by blackwarriormonster, Nov 11, 2015.

  1. blackwarriormonster

    blackwarriormonster Registered Member

    Joined:
    Feb 11, 2014
    Messages:
    82
    Likes Received:
    6
    Hi friends,

    I want to purchase an expired domain from "domcop" for 301 redirect it to my money site, but the problem is since I am a newbie, I don't know how to 301 redirect it to my money site,

    Should I purchase a web hosting then transfer the domain to it, create a website to this domain or move the content in the expired domain to the site...

    Is there any guide with details could tell me how to 301 an expired domain? (not simply 301 www to non www)



    Thanks a lot!
     
  2. ePrime

    ePrime Jr. VIP Jr. VIP

    Joined:
    Aug 16, 2014
    Messages:
    313
    Likes Received:
    117
    Either you can directly set up a redirect from your domain registrar's control panel or you can host your expired domain on a hosting account. You have to create a .htaccess file in the root of the expired domain and paste this code to your .htaccess
    Code:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !moneysite.com$ [NC]
    RewriteRule ^(.*)$ http://moneysite.com/ [L,R=301]
    
    Make sure you change moneysite.com to your money site domain name.
    Also use a different hosting account to host the .htacces file.
    This code will redirect
    hxxp://expiredomain.com/path to hxxp://moneysite.com/
     
    • Thanks Thanks x 1