There are several ways to install WordPress on a blog nowadays, and it pretty easy as well. But it wasn’t always this way.
Back in 2007 I remember I had to learn it all in a weeks time to upload WordPress files to the hosting via an FTP client (which took some extra time to research about)
My second WordPress install was a little easy and fast. And then I discovered those scripts (fantastico, etc) that easily let you install WordPress in a snap.
So, Installing WordPress on a domain was a matter of few minutes, (thanks to these scripts).
But I the problem with these scripts is that it automatically creates the Database, the user to access the database.
While there is no harm in letting these scripts automate everything to get your installation done fast, I don’t like this approach.
And you too will not like if you are like me who loves to keep things clean.
I own multiple blogs and some of them are hosted in shared hosting in a single account and love to keep the databases in clean, that is why I like to create databases manually.
So that they do not look like this
database_wrpd01
instead, they look like this,Â
database_domain
It’s a minor detail and some even might want to ignore it. Becuase the manual methods seems little lengthy, or tiresome to many people.
Well, not anymore,
Here is the trick I am following from a long time and wanted to share this with everyone, (this is why I created WPCornr, in the first place).
The trick is quite simple,Â
In the manual process, you have to download WordPress from WordPress.org, then with the help of an FTP Client (such as Filezilla), you upload and then extract it by going to the File Manager in cPanel.
I am assuming, you are using a shared hosting, or a hosting that support cPanel or any type of visual software t manage your server.
And you already own a blog, and this is for the second, or third, or {enter your numer} blog.
Step 1: Register domain name from Godaddy (or whichever registrar you use. Change the nameservers to point them to your hosting. Skip this step if you already own the domain name.
Step 2: Log into cPanel, which would be, yourblogname.com/cpanel and then go to Add-on domains and add your domain name.
Step 3: Now, go the file manager, and enter the folder of your already existing blog. The folder shall have all the WordPress files. You can to select all the files and copy them to your new blog’s folder, just change the domain name in the path.
Step 4: Click on reload and go to the new blog’s folder, you will see all the files are copied. Now if you have got an old blog where you copied all these files from, you are going to have a lot of images in the /uploads folder, just to that folder and delete all other folders 2015, 01, 02 etc.
Step 5: Go back to the control panel again and click on MySQL Databases, and create a new database.
After creating the database, you have to add a user to the database, now. what most people do here is create a new user for every blog, but you can also use the same user for all the blog databases, is a cleaner way to do so.
So, add the existing user to the database.
You will be asked to give the user all the privileges to access the database, give all the access to the user. And click on make changes.
Step 6: Now go to the new blog’s folder and open wp-confit.php. Here you just need to change the database name, keep the username and password same if you are using the existing user. Save the file and exit.
Step 7: Now, open your blog URL in your browser. yourblog.com. If everything was done correctly, you will be able to see the WordPress installation page, just put your username, email address, the name of your site and you are good to go.
WordPress autogenerates a complex password so make sure you copy it before moving to the next page.
Installation was done.Â
I hope this takes less than 5 minutes. And if you think you need to install WordPress more often, then you should keep a separate folder on your server, which contains all the WordPress files that can be copied to the new blog.