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

PBN building tip!

Discussion in 'Black Hat SEO' started by tony_d, May 13, 2014.

  1. tony_d

    tony_d Elite Member

    Joined:
    Jun 22, 2013
    Messages:
    2,582
    Likes Received:
    3,171
    Location:
    1600 Amphitheatre Parkway, Mountain View CA
    When you buy dropped domains, they often have incoming links to sub pages.
    The conventional approach has been to do a 301 from those sub-pages to your home page/posts. That's effective - but time consuming.

    Enter;

    PBN building time saving hack

    Edit the PHP code on the 404 error page, so that it does a 301 to your home page :)
    That way, link juice flows to your home page without having to create an individual redirect for each and every page.

    Step 1: In wordpress, go to Appearance > Editor
    Step 2: Select the 404.php template
    Step 3: Delete everything, and replace it with the code below

    Sample code
    PHP:
    <?php // Permanent 301 Redirect via PHP
        
    header("HTTP/1.1 301 Moved Permanently");
        
    header("Location: http://www.YOURSITE.com/");
        exit();
    ?>
    NOTE: This is for WordPress, and it assumes that your WordPress template has a custom 404 page.
     
    • Thanks Thanks x 25
  2. Penumbra

    Penumbra Power Member

    Joined:
    Apr 23, 2014
    Messages:
    739
    Likes Received:
    225
    Location:
    Antarctica
    Very nice tip. Thanks.
     
  3. SeanAustin

    SeanAustin Power Member

    Joined:
    Mar 4, 2013
    Messages:
    740
    Likes Received:
    712
    Location:
    Rocky Mountains
    What a time saver. Nice.
     
  4. BuildMoreLinks

    BuildMoreLinks Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 7, 2012
    Messages:
    2,032
    Likes Received:
    683
    wow this is a nice sneaky little tip and this is surely going to juice up the homepage.
     
  5. randybishop

    randybishop Elite Member

    Joined:
    Aug 23, 2013
    Messages:
    1,677
    Likes Received:
    638
    Occupation:
    I was born a poor black child
    Location:
    Mississippi
    Nice!! Thanks for sharing a great tip! :D
     
  6. asap1

    asap1 BANNED BANNED Jr. VIP

    Joined:
    Mar 25, 2013
    Messages:
    4,961
    Likes Received:
    3,179
    Great share man

    Thanks!
     
  7. dlhere

    dlhere Newbie

    Joined:
    Dec 19, 2013
    Messages:
    30
    Likes Received:
    6
    Very useful, thanks for your sharing.
     
  8. abhi007

    abhi007 Jr. VIP Jr. VIP

    Joined:
    Aug 31, 2010
    Messages:
    5,716
    Likes Received:
    3,889
    Location:
    Theatre of dreams :)
    A friend of mine struggles finding the right domains for our project and i think this should come in really handy for us...
     
  9. twilightofidols

    twilightofidols Power Member

    Joined:
    Nov 11, 2011
    Messages:
    675
    Likes Received:
    224
    I've been doing this since day 1 I had no idea you guys were 301ing individual pages that sounds like a nightmare. Good share for the board though OP.
     
  10. Aty

    Aty Jr. VIP Jr. VIP

    Joined:
    Jan 27, 2011
    Messages:
    5,957
    Likes Received:
    4,069
    Home Page:
    Thanks for sharing. I wonder if there is any risk involved since G might be able to discover your PBN sites using some sort of custom search based on this code.
     
  11. J-S-T

    J-S-T Jr. VIP Jr. VIP

    Joined:
    Jul 27, 2013
    Messages:
    1,249
    Likes Received:
    621
    Gender:
    Male
    Location:
    Fb and BHW
    Useful Tip indeed. Thanks for Sharing.
     
  12. hardcorebiker

    hardcorebiker Jr. VIP Jr. VIP

    Joined:
    Sep 6, 2011
    Messages:
    1,337
    Likes Received:
    1,069
    Occupation:
    Digital Marketer
    Location:
    Bangkok, Thailand
    Or simply use plugins like Link juice keeper or 404 redirection.

    Thanks for sharing :)
     
  13. umerjutt00

    umerjutt00 Jr. VIP Jr. VIP

    Joined:
    Oct 28, 2011
    Messages:
    3,825
    Likes Received:
    2,065
    Occupation:
    Ninja
  14. vonSteinberg

    vonSteinberg Registered Member

    Joined:
    Feb 24, 2014
    Messages:
    92
    Likes Received:
    7
    In order to make this work, do you need to host first the domain, isn't it?
     
  15. nichelinks

    nichelinks Junior Member

    Joined:
    Jan 11, 2013
    Messages:
    117
    Likes Received:
    37
    Occupation:
    SEO Analyst
    Location:
    IM
    link Juice keeper plugin does the job if you are creating Network with wordpress.
     
  16. Cas87

    Cas87 Regular Member

    Joined:
    Mar 5, 2012
    Messages:
    286
    Likes Received:
    131
    Location:
    England
    Can't you just use a 404 301 redirect plugin? Don't they do the same thing?

    Thanks for the code
     
  17. SkyrocketSEO

    SkyrocketSEO Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 5, 2012
    Messages:
    4,495
    Likes Received:
    11,759
    Occupation:
    travəlɪŋ
    Location:
    Aibres
    Home Page:
    @OP, not working for me. Anyone else tried it?
     
  18. hotantivirus

    hotantivirus BANNED BANNED

    Joined:
    Jan 10, 2010
    Messages:
    78
    Likes Received:
    9
    Not sure if this would be helpful, a 404 is a good thing to have, this would indeed transfer the link juice but not sure if it'd really be helpful in the longer run.
     
  19. tony_d

    tony_d Elite Member

    Joined:
    Jun 22, 2013
    Messages:
    2,582
    Likes Received:
    3,171
    Location:
    1600 Amphitheatre Parkway, Mountain View CA
    Indeed, a few have mentioned the plugin :p I wish I found that earlier!
     
    • Thanks Thanks x 1
  20. Random101

    Random101 Junior Member

    Joined:
    Aug 2, 2011
    Messages:
    107
    Likes Received:
    37
    Thanks for the tip Tony!

    Although I just use Link Juice Keeper. I think it is a good a idea to use both, to mix it up a bit. Just to be safe :p