For the last few weeks, I have been installing WordPress (self-hosted) for so many times. I received some script errors and sometimes I can’t get through inside my administration panel. What’s the cause? Maybe, due to installing lots of plugins without knowing if all of them will work or compatible with the theme that I am using.
Anyway, that’s ain’t my purpose in writing this post. I just like to share my own ways/steps in installing WordPress (self-hosted) in order to have a clean and organize installation of your WordPress.
- Sign-up on a free web hosting service provider e.g. 000webhost.com or a paid domain/hosting (much better if you have).
- Download WordPress or download it directly from my website.
- Extract the downloaded zip file of WordPress to your computer. (the folder name should be “wordpress”). Hold on, we will go back to this step.
- Login into your host cPanel and create a database/username/password for your WordPress. If you’re done, open Notepad and copy all details including database name, username, password and host address. (For a paid hosting, you won’t need the host address anymore)
- Now, let’s continue on Step #3, open wordpress folder. Find the file, wp-config-sample.php then open/edit it using your own HTML editor program (Dreamweaver or Notepad).
- You should see something like this:
- From your Notepad, input the correct details or you may use copy&paste technique. Again, for paid hosting, you won’t need to edit (DB_HOST’, ‘localhost’); This is already provided by your host.
- Next, open your web browser and visit this site http://api.wordpress.org/secret-key/1.1/
// ** MySQL settings ** //
define(‘DB_NAME’, ‘putyourdbnamehere’); // The name of the database
define(‘DB_USER’, ‘usernamehere’); // Your MySQL username
define(‘DB_PASSWORD’, ‘yourpasswordhere’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value