November 2009

Neat Tricks and Hacks11 Nov 2009 08:46 am

I got this question from Primal in regards to my post on Building Mininets


I like the post and your entire site. Thanks for sharing your knowledge. One thing confuses me about this particular tactic. Where are you getting the content from? You mentioned Audioscrobbler and Youtube API but I am not focusing on a music niche. The “widely available car db” sounds more like something I could use. Can you say where you would get something like this from? Also is there any reason why I should use customized pages instead of a CMS like Wordpress to generate these kinds of sites?

Upon a glancing read this question seems to focus too much on the exact example used in the post. Yet if you really read the multipart question thoroughly and get to its core it’s a FANTASTIC question that really needs an answer in more depth than what I would put in a comment response. The mininet building post isn’t about how to use APIs and RSS feeds to get content. Nor is it about creating a custom CMS or doing multiple installs of the same site structure (I covered that in depth in my SEO Empire post and called them ANT Scripts). The real down to brass tax gem behind the technique is understanding how to do Addon Domain Spam via environmental variables such as HTTP_HOST to create a lot of sites from a single install of ANYTHING. I’m absolutely a firm believer that addon domain spam is the future of webspam. Subdomains had their day and now its time for figuring out creative ways to create a ton of unique sites from a single platform. This doesn’t always have to be done through addon domains and as mentioned in the comments can be done through other ways such as editing the httpd.config. For now though I wanted to focus on the basics such as using addon domains and if you’d like to go cheap about it subdomains, and let the SEO ingenuity naturally evolve from there.

To answer your question yes you can use databases to help with the content for these sites. Check out my Madlib Sites post for some great ideas on how to accomplish that and use databases. As for the second part YES you can use other CMS’ such as Wordpress!

How To Use Wordpress To Do Addon Domain Spam
I got several emails from people asking how to create a wordpress plugin to accomplish this technique as well as a comment from the longtime reader PhatJ. I realize at first thought this sounds like a complicated process to be able to convert wordpress over to being able to read multiple addon domains and treat them as multiple installs and probably require some sort of plugin being created, but as with most things the simple solution is often the best.

The easiest and most effective way to convert any CMS to be used for addon domains that I’ve found is to simply edit the config files. No joke, that’s seriously usually all it ever takes. In my wordpress wp-config.php file I grabbed the line that declared the database:

define(’DB_NAME’, ‘database1′);

I replaced it with a simple IF ELSE statement to check for the domain and define the appropriate database:

if ( $_SERVER["HTTP_HOST"] == '' ) {
define('DB_NAME', 'database1');
elseif($_SERVER["HTTP_HOST"] == ''){
define('DB_NAME', 'database2');
}else {
define('DB_NAME', 'database1');

Then I just pull each database in the browser or mass wordpress installer script and setup each blog as if it was separate.

To show you it in action I put up a single Wordpress install on a subdomain on Bluehat. I then added a second database and put that code into the wp-config.php. Looking at each you’d have no idea they were a single wordpress install. See for yourself :)

Domain 1:
Domain 2:

Thanks for your question Primal!

Blue Hat Techniques10 Nov 2009 05:11 am

I promised awhile back that I’d teach you ugly bitches more ways to build your sexy SEO Empire. With some spare time this week I might as well take some time to help your nasty hooker ass do just that. YES I will insult you through this entire post because judging from the recent comments you donkey fuckers are getting a lil too big for your own britches and need to be brought down a peg. I’m kidding of course. You guys are great. I just feel like filling this post full of as many reasons not to read it as possible and since no one gave me an excuse to do it, I just made one up. :) This post will be advanced and since this technique’s ability to be bulletproof feeds off creativity and the subtleties of being selfmade I’ll also only give out pseudo code instead of code samples. It is however an extremely efficient way to build large amounts of unique and self-promoting sites and is more than reusable for just about any chunk of niches so modularize your code and save it for future scaling. Trust me you’ll wish you did.

Getting Started With Your Custom Mininet Generator
It’s always easiest to start a project with an example in mind so begin by picking a generalized niche that can involve a lot of different sites along the same theme. For this example I’ll use music based fan sites. So I’ll grab a few starter domains to test with such as and maybe one more for good measure, <- See how I was all insulting and mean at the beginning of this post and suddenly changed it around to being all considerate and using faggy bands as examples so you fags can relate to what I’m saying here. I’m not mean all the time and can in fact be quite understanding. *grin* Anyways! Now that you got your domains setup an account under a single domain on your server and add the rest as addon domains. In your site’s root make a Sources folder and another to hold a data dump. After that setup a MYSQL database to be used by all sites and put a row in a table for a single domain you bought (the rest will be inserted automatically later). I recommend you put the actual domain in some value in that row.

Build a Single Universal Template
This is easier than it sounds. You can always go 100% custom but to save time I like grabbing a generic looking premade template. I then put it into a script and disect the html to put in as many variables as I can fit. A few examples would be <title>$sitetitle - $pagetitle</title> <h1>$heading1</h1> <body bgcolor=”$bgcolor”> <img src=”/data/$domain/images/$mainimage”> <div>$maincontent</div> which I will later fill with the actual content and variable values. Pack the template full of as many customizations as you can so it will not only be flexible and universal among all topics in the niche but the html itself is very random and as uncookie cutter like as you can get it. Torwards the end of the process I also tend to throw in a bunch of $randspacing type variables as possible. Then i use a randomizing function to create various spacing and line returns and randomly insert it throughout just about every group of html tags. I mention this now instead of later in the post because its important to realize that you will want this template to be as flexable as possible because you’ll eventually be using that same template on a TON of sites that may or may not be doing some interlinking so you don’t want it to appear as a network. Changing colors, widths, and images around are a great way to accomplish this just don’t get too complicated with it starting out. Keep it very basic and once you got the mininet nearly done you can add as many as you’d like later. Sometimes it’s typical to throw yourself off focus and doom the project by getting too hung up on getting the same thing perfect. For each variable you place in the template you’ll want to put the same as a field in the SQL table you created previously.

Putting Together Some Content Sources
For an example such as the music fan sites mininet I’d probably jot down a few sources of content such as Audioscrobbler for the band descriptions, primary image, and discography. Then Youtube API for a few music videos for each musician. Another great source would be Yahoo Images for some band related wallpapers and Alexa for some related sites to link to. I might even grab the Google Blogsearch rss for some recent blog posts related to that artist. Starting out it’s usually best to keep your sources as simplistic as possible and not stray too far from readily available RSS and APIs. Like I said you can always get more advanced and custom later. Create a module script for each source and put it in your previously created Sources folder. Then for each source you came up with add it as a table in your SQL and put in all the fields you’ll need for each one and remember to save room to identify the domain on each one.

Building The Generator
Create a backend script that will simply be a place to copy and paste a list of the domains and their primary keywords into with a button to submit it. My domains and keywords for this example would most likely be pipe delimited such as:|God Smack|U2|Beyonce Knowles
Once the list is submitted the generator needs to insert a new row into the table and create all the randomized variables for the site such as the background colors , various spacings (and/or a brand new template file stored in the data folder) putting them in the same single row. Once the basics are done it can call all the source modules and run them using the domain name and the keywords they need to grab the right content. They will then need to put that content into the database under the proper domain’s row(s). You now have all the content you need for each site and each got its own template! Now it’s time to just build the son of a bitch.

BUT! Before I show you how I’ll give you a few examples of how I would setup my tables for each of the sources so you can get a better idea.
For my Youtube I’d probably keep it simple and just do the domain and the embed code.





*the MySite1 would be another random fan site in your list of domains. The MoneySite1 would be a money site of yours you can insert later to help with upward linking ;) These are foundation sites after all.

So simple even a retarded piss bucket like yourself can figure it out :)

Scripting The Sites
I know some of you are going to talk about dedicated IPs for each site and various other expensive ways to make sure the sites don’t get associated with each other but there was a good reason I said to use addon domains although there are other more complicated and better solutions. The first thing you should do when scripting the index page is to grab the current domain using an environmental variable such as HTTP_HOST. Once you have the domain name you can use that to grab all the appropriate data for each domain name and you only have to code one site and get it to work for ALL the sites in the mininet. For instance if someone goes to it’ll grab that into the variable and customize the entire site to be a Jay-Z fan site even though its all the same script controlling all the addon domains. I always start with the main page and branch all my subpages off that. For instance for the I would put in a section for Jay-Z Music Videos and link to More Jay-Z Music Videos(the Jay-Z being that domains primary keyword as specified in the DB). That Jay-Z Music Videos subpage would just be more previously scraped music videos from youtube. The same would be done for the Jay-Z Wallpapers, Jay-Z Discography, Jay-Z Lyrics, Jay-Z Guitar Tabs..Whatever sources I’m using. Each would be a small section on the main page and would expand into their own subpage which would target popular keywords for that artist. Once all that is done and built into the template you can test each change among all the current test domains you have to make sure each shows up nicely and the randomizations and backgrounds all are static and neat for each site. Be sure to put in a place for your Alexa similar sites and as shown above mix in links to your other fan sites for each band/musician as well as some placements for your current and future money sites so they can all get good link volume. Once every test site looks pretty and is fully functional along with fairly unique content all you have to do is scale up with more domains.

BUT FIRST! I like to incorporate ways for each site to self build links. Such as for the Google Blogsearch posts I’d put a section on the main page for Jay-Z News listing the most recent 25 blog post results or so. Then I would build a small cronjob script to update it every day with 25 new posts or so and do a pingback on each to score a few unique links from other related sites every day automatically. This way you not only have lateral links from other sites on the mininet but links from other sites and the links are always growing slowly so each site can continue to grow in rank and traffic over time.

Buying More Domains and Scaling Up
As indicated I like to keep it simple and pick a prefix or suffix that has many open domains that way I don’t have to spend a ton of time picking out the domains I can just grab a list of several thousand popular bands and mass buy the domains then copy and paste them into the backend generator. Boom! Several hundred to, if you’re bold enough, thousands of new sites. All of which will grab quite a bit of underexposed traffic from keywords, image search and links. It will also give you tons of links and awesome pagerank for future sites you build. It’s a lot of work initially but it’s definitely easier then hand building all those sites yourself and the sites can easily become just as successful as if you did, especially if you did a good job with your sources. Once you’ve scaled up that mininet to a level you’re comfortable with and can maintain financially (it helps to build in a montenization module to the site so you can easily switch out ads among all the sites so they can create the most money possible per site) you can switch to a new group of sites using the same code, many of the same sources, and same method. The music fan site example is great because nearly the exact same code can be used in so many ways. For instance I can take the same damn code, get rid of the audioscrobbler and swap it for a widely available car DB for the description, image and car specs, and build a whole mininet for every single make and model car out there with a whole new set of domains such as,, It’s as easy as swapping out the keywords used in the modules so they become Pontiac Grand Prix Videos (from youtube source) and Pontiac Grand Prix Wallpapers/Images. All you need is a new template and a new group of domains to build an absolutely massive and diverse mininet that is actually profitable and self growing.

PS. I know I said HUNDREDS and THOUSANDS of sites all dramatically, but as with all techniques start off small. Get your scripts and promotion right. Make sure it works and is profitable on a per site basis before scaling up to any ridiculous levels.