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

[Guide] How to add WordPress to your restored PBN site for easy management - no brain required

Discussion in 'Black Hat SEO' started by nikchaing, Jun 16, 2017.

Tags:
  1. nikchaing

    nikchaing Jr. VIP Jr. VIP UnGagged Attendee

    Joined:
    Apr 24, 2013
    Messages:
    1,114
    Likes Received:
    2,192
    Location:
    Florida
    [​IMG]

    Ok it isn't really that big of a deal, but let's just pretend like it's totally fucking over Google because that will make it more fun

    This guide is basically about how to add a little bit of WordPress to your restored PBN site so that it's easier to manage/add content

    Before we dive in, here is a list of what you will need to get started:
    1. html files of old site
    2. cpanel hosting
    3. a cold one
    -----------------------------------------------------------------------------------
    Step 1: Get html files of old site

    [​IMG]
    There's a ton of ways to download the old site from the archive, but I'll list a couple just because I mentioned no brain needed:
    • Ruby script from GitHub - You will need to install Ruby on your system if you haven't already. If you run OSX then just download the shit and follow the directions.
    • DomRecovery - Haven't used this personally, but it looks awesome if you're restoring a lot of sites.
    • Random PBN providers/hosts - There are plenty of PBN hosting or domain providers that have their own archive downloader, like PBNHQ
    Once you have the old site downloaded, remove index.html from the folder and zip up the rest so that it's ready to be uploaded to your server. (We will use the index.html page later)

    Step 2: Install WordPress


    [​IMG]

    This step might be difficult if you don't have a brain, but I believe in you!

    Once you're done struggling to install WordPress, go to Settings > Permalink Settings, set it to "Post name", and hit Save Changes

    [​IMG]
    Step 3: Upload & unzip the html files of the old site

    Just like you I have no brain, so I prefer to use the file manager instead of FTP.

    You do you boo, just make sure you get the damn files uploaded.

    Step 3.5: Break Time

    You've been hard at work restoring this old, crusty site. To celebrate your progression we will get the cold one I mentioned earlier, and crack it open with the boys.

    Once the cold one has been consumed it's time to move on.

    [​IMG]
    Step 4: Upload your custom theme & edit in the old index.html

    For this next step we will upload, install, and activate our custom theme

    Here is a download for the super awesome theme: http://www.mediafire.com/file/ic7j9e54qhpd2cd/Theme.zip

    Virustotal: https://www.virustotal.com/en/file/...195732d500ae3c6f9af6eb3c/analysis/1497642881/

    Remember that index.html from the old site that I said to save earlier?

    Once you've activated the theme, it's time to edit in the index.html code to some of the theme pages.

    Go to Appearance > Editor
    Paste the code from the index.html into:
    • index.php
    • page.php
    • single.php
    • search.php
    On some of those pages you will see code snippets, just paste in the index.html code before it, those snippets are what shows your WordPress content.

    Step 5: Choose where you want your WordPress content to show

    At this point you've edited in the old site into index.php, so now your site should show the homepage of the old site. Perfect

    Now it's time to move the WordPress code so that it looks normal.

    I know I mentioned not needing a brain, so maybe you can borrow one from a friend to complete this step.

    Just in case you deleted the WordPress code while doing something here it is below:
    Code:
    <h3>[name this whatever you want, maybe something like "Updates" or "News"</h3>
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <h2><a href="<?php the_permalink() ?>">
    <?php the_title(); ?>
    </a></h2>
    
    <?php the_content(); ?>
    
    <?php endwhile; ?><?php endif; ?>
    All this code does is show all your WordPress posts. When you add it to index.php it will show all the WP posts on the homepage of your site.

    Once you're done with that, you should have the WordPress shit showing on your homepage:

    [​IMG]

    Next it's time to edit single.php and page.php

    This code below is used to show just single posts from WordPress:
    Code:
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?><?php the_title(); ?>
    
    
    <?php the_content(); ?>
    
    <?php endwhile; ?><?php endif; ?>
    You can probably just paste this in the same spot that you did the first code, but you can get real spicy with it if you want to. The reason why you need to edit these pages is because the posts on the homepage are linking to these individual post pages.

    Once you've added the code to single.php and page.php it's time to make sure all the links on those pages work. When you downloaded the old version of your site, chances are that all the links are like "/images/howto69.mp4" or "/guides/how-to/69-like-champ.html"

    All you have to do is complete those URLs, so it'd be like "www.imgay.org/images/howto69.mp4" or "www.imgay.org/guides/how-to/69-like-champ.html"

    You need to do this because if you don't, none of the links on those pages will work.

    Ok that was tough, maybe it's time for another cold one.

    Step 6: Edit archive.php and 404.php

    In the theme that I shared with you there should already be some code in archive.php and 404.php

    All you have to do is replace [your URL here] with your domain.

    Note: Be sure to use www if you want to use that version of your URL

    Congrats, you're done now! Maybe it's time for another cold one???

    Want to see an example of a site like this?
    Code:
    http://aaiwi.org/
    About copyright infringement... yea man I get it. This guide is about how to add WordPress to the restored site, not about the legality of it. This is Black Hat World, not Tiny Testicle Nation.

    [​IMG]
    What's the point of all this? Basically just to give you another option when it comes to building a PBN site. Restoring sites is cool and all, but it can be annoying when you want to add more content to the sites. Instead of having to go in and edit the html, you can just login to WordPress and make another post.

    [​IMG]
    Couldn't this be a footprint? I guess, but I'm really not concerned.

    [​IMG]
    Anyway, if you have any questions then let me know.

    Super massive shoutout to @Heisenberg for helping with everything. He doesn't know I'm making this guide, but he's the man.
     
    • Thanks Thanks x 15
    Last edited: Jun 16, 2017
  2. blizz3010

    blizz3010 Power Member

    Joined:
    Jan 15, 2017
    Messages:
    624
    Likes Received:
    256
    Gender:
    Male
    Location:
    USA
    booked marked. thanks.
     
  3. Tipssy

    Tipssy Newbie

    Joined:
    May 24, 2017
    Messages:
    45
    Likes Received:
    6
    Good guide but i still doubt the "Custom Theme".

    Can anyone check the theme and find out if there's any hidden script.

    @OP, I'm sorry to say that but i'm more sensitive about PBN than my wife.
     
    • Thanks Thanks x 2
  4. nikchaing

    nikchaing Jr. VIP Jr. VIP UnGagged Attendee

    Joined:
    Apr 24, 2013
    Messages:
    1,114
    Likes Received:
    2,192
    Location:
    Florida
    Technically you don't need the "custom theme" if you understand how it works, but I added it since this is the no-brainer guide
     
  5. aidenhera

    aidenhera Elite Member

    Joined:
    Nov 30, 2016
    Messages:
    2,030
    Likes Received:
    449
    Gender:
    Male
    why you restore old stuff tho
     
    • Thanks Thanks x 1
  6. nikchaing

    nikchaing Jr. VIP Jr. VIP UnGagged Attendee

    Joined:
    Apr 24, 2013
    Messages:
    1,114
    Likes Received:
    2,192
    Location:
    Florida
    because your mom needs lovin' too
     
    • Thanks Thanks x 1
  7. aidenhera

    aidenhera Elite Member

    Joined:
    Nov 30, 2016
    Messages:
    2,030
    Likes Received:
    449
    Gender:
    Male
    she wont get it from your tiny asian penis
     
    • Thanks Thanks x 1
  8. nikchaing

    nikchaing Jr. VIP Jr. VIP UnGagged Attendee

    Joined:
    Apr 24, 2013
    Messages:
    1,114
    Likes Received:
    2,192
    Location:
    Florida
    maybe Tunescool is more her type
     
  9. Tipssy

    Tipssy Newbie

    Joined:
    May 24, 2017
    Messages:
    45
    Likes Received:
    6
    Racism is evil for humanity.
     
  10. MatthewGraham

    MatthewGraham Jr. VIP Jr. VIP

    Joined:
    Oct 6, 2015
    Messages:
    1,056
    Likes Received:
    935
    Gender:
    Male
    Occupation:
    Rolling Face on Keyboard
    Location:
    United States of America
    Home Page:
    Saved the "Who Would Win" image for future use. Great post.
     
    • Thanks Thanks x 1
  11. nikchaing

    nikchaing Jr. VIP Jr. VIP UnGagged Attendee

    Joined:
    Apr 24, 2013
    Messages:
    1,114
    Likes Received:
    2,192
    Location:
    Florida
    hopefully a stupid search engine wont win!
     
  12. blizz3010

    blizz3010 Power Member

    Joined:
    Jan 15, 2017
    Messages:
    624
    Likes Received:
    256
    Gender:
    Male
    Location:
    USA
    Confirmed works. I did scan the theme file he included. Looks legit. Followed his steps, even took a cold one on the way. Good for newbies
     
  13. aShikha619

    aShikha619 BANNED BANNED

    Joined:
    May 10, 2017
    Messages:
    97
    Likes Received:
    14
    I was looking for such a guide as i have paid for wordpress conversion from html many times.... i promise you a coffee alteast....will try it and get your additional hel if required.
    Thanks
     
  14. damagesmith

    damagesmith Power Member

    Joined:
    Aug 4, 2011
    Messages:
    626
    Likes Received:
    89
    Gender:
    Male
    What directory do we upload the files into