301 redirect help needed

Discussion in 'Black Hat SEO' started by mrtruehybrid, Jan 21, 2017.

  1. mrtruehybrid

    mrtruehybrid Regular Member

    Joined:
    Aug 4, 2013
    Messages:
    298
    Likes Received:
    71
    Hey everyone,

    my old domain got penalized and I want to 301 redirect it to my new domain.
    Does anyone have the 301 redirect code? I tried 301 generators on google but I couldn't get it to work
     
  2. thebigweb

    thebigweb Regular Member

    Joined:
    Nov 19, 2007
    Messages:
    356
    Likes Received:
    136
    Location:
    The Moon
    Home Page:
    Use .htaccess or do it from within cPanel

    Code:
    Options +FollowSymlinks
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^olddomain.com [NC]
    RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]
    RewriteCond %{HTTP_HOST} ^www.olddomain.com [NC]
    RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]
     
    • Thanks Thanks x 1
  3. mrtruehybrid

    mrtruehybrid Regular Member

    Joined:
    Aug 4, 2013
    Messages:
    298
    Likes Received:
    71
    I uploaded it and got this error:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
     
  4. K.H.R

    K.H.R Jr. VIP Jr. VIP

    Joined:
    Dec 9, 2013
    Messages:
    3,584
    Likes Received:
    1,134
    Occupation:
    Learning
    Location:
    BHW
    Penalized Domain 301 Redirected to New Domain.!

    Is this a Good Idea?

    You can 301 redirect from your domain registrar.
     
  5. Nargil

    Nargil Jr. VIP Jr. VIP

    Joined:
    May 10, 2012
    Messages:
    6,166
    Likes Received:
    3,925
    Location:
    Europe
    Home Page:
    What you are doing is so 2013 I want to sing Macarena.

    301 redirects pass penalties, so your new site will get penalized in no time as well.
     
  6. djp371

    djp371 Elite Member

    Joined:
    Apr 20, 2009
    Messages:
    2,086
    Likes Received:
    350
    Occupation:
    Internet marketing
    Location:
    United States
    Home Page:
    It's not a good idea. Because redirecting a penalized site will pass its penalty to the new domain thus it will still bear the same penalty.
     
  7. bismarck88

    bismarck88 Junior Member

    Joined:
    Sep 19, 2008
    Messages:
    115
    Likes Received:
    14
    Gender:
    Male
    Location:
    Vancouver
    Home Page:
    It is not a good idea. I penalized site will just pass the penality to your new site