Final Infinity
Junior Member
- Mar 29, 2014
- 146
- 75
I got a lot of requests to make a little checklist for choosing pbn Domains and their setup in response to my previous thread. As it took me a while to get the time to make it and I couldn't edit my old thread anymore I figured I'd make a new one. Please note, there are other methods to choosing domains, this is just one method. Other methods would require you to check backlinks for authority links more closely while the decison tree, if followed, will allow you to get domains that are 100% definitely good. Yes, you are missing out on some gems but at the same time it's a safe way to for beginners to start. At the end is also a little php code you can use to download wordpress to a hoster that has no 1-click installer. It's useful if you have a bad upload speed.
Decision Tree for choosing Domains:

Checklist for setting up Domains in a safe way:

Wp Download Script:
To use this script copy and paste it into a text editor and save it as "load.php". Upload that file to your hoster and go to "domain.com/load.php". The script will download and unpack the latest Wp Version to your Hoster, you will only have to create the database and fill it in, just like you would have to when you upload the latest Wp (without 1 click installer) to your hosting. Simply a way to do it faster as your hosting almost certainly has a much faster download connection that you have as upload.
I hope I didn't miss anything, if I did it's most likely in my other thread but please let me know so I can amend the decision tree and checklist. Also sorry for the small format of the images in the thread, I somehow couldn't manage to make them bigger in here. Just click on them to see them in big.
Decision Tree for choosing Domains:

Checklist for setting up Domains in a safe way:

Wp Download Script:
Code:
<?php
#error_reporting(E_ALL);
#ini_set('display_errors','On');
$url = "https://wordpress.org/latest.zip";
$file = "latest.zip";
$src = dirname(__FILE__)."/wordpress/";
if( file_put_contents('./'.$file,file_get_contents($url)) )
echo "<p>Wordpress download success!</p>";
else
die('Fehler beim Download!');
// Unzip
$zip = new ZipArchive;
if ($zip->open($file) === TRUE) {
$zip->extractTo('.');
$zip->close();
echo '<p>Unzip Wordpress success!</p>';
} else {
die('<p>Error while unzip.</p>');
}
function recurse_copy($src,$dst) {
$dir = opendir($src);
@mkdir($dst);
while(false !== ( $file = readdir($dir)) ) {
if (( $file != '.' ) && ( $file != '..' )) {
if ( is_dir($src . '/' . $file) ) {
recurse_copy($src . '/' . $file,$dst . '/' . $file);
}
else {
copy($src . '/' . $file,$dst . '/' . $file);
}
}
}
closedir($dir);
}
recurse_copy($src, './');
// Rename wp-config-sample.php
rename("wp-config-sample.php", "wp-config.php");
// Delete Files
function rrmdir($dir) {
if (is_dir($dir)) {
$objects = scandir($dir);
foreach ($objects as $object) {
if ($object != "." && $object != "..") {
if (filetype($dir."/".$object) == "dir") rrmdir($dir."/".$object); else unlink($dir."/".$object);
}
}
reset($objects);
rmdir($dir);
}
}
rrmdir($src);
unlink($file);
unlink('readme.html');
unlink('license.txt');
unlink(__FILE__);
?>
To use this script copy and paste it into a text editor and save it as "load.php". Upload that file to your hoster and go to "domain.com/load.php". The script will download and unpack the latest Wp Version to your Hoster, you will only have to create the database and fill it in, just like you would have to when you upload the latest Wp (without 1 click installer) to your hosting. Simply a way to do it faster as your hosting almost certainly has a much faster download connection that you have as upload.
I hope I didn't miss anything, if I did it's most likely in my other thread but please let me know so I can amend the decision tree and checklist. Also sorry for the small format of the images in the thread, I somehow couldn't manage to make them bigger in here. Just click on them to see them in big.
Last edited: