For the vast majority of you, installing WordPress will be an incredibly simple exercise. Most hosting companies offer a one-click install package, such as Fantastico or Softaculus. So mosey on along to your hosting provider’s interface and tell it to install WordPress already! If your hosting provider does not have a one-click install, you will need to download the latest WordPress package and follow these instructions for installation.
As you might remember from this post, WordPress needs a MySQL database to run. You will need to define a database name for your MySQL database, a table prefix (usually wp_), a URL to install WordPress to, and a MySQL database username and password that WordPress will use to connect. A one-click installer may select the database username and password for you, so don’t worry if this isn’t one of the options available. You may also get the option of selecting an admin username and password. If so, take advantage, as “admin” is the most common username tried by hackers.
So, for example, if you are want people to visit your blog at www.mycookingsite.com/blog you might choose:
Database name = mycookingblog
Database prefix = wp_
URL to install WordPress = www.mycookingsite.com/blog
DB username (if asked) = your FTP username
DB password (if asked) = 0987fed654cba321
Admin Username (if given the option to select one) = johndoe
Admin Password (if given the option to select one) = 123abc456def7890
Take careful note of your username and password. I recommend choosing a 16-character randomly generated password (something more secure than the one above, obviously!). The database username and password are stored in a WordPress file called wp-config.php that will be automatically created for you by your installer. Any time you change your password (which you should do relatively often, for security purposes), you will want to update wp-config.php.
If you are using a one-click installer, you will receive an email from your hosting provider once WordPress is successfully installed on your server. Go ahead and go to WordPress and log in.
The login location for My Cooking Site would be: www.mycookingsite.com/blog/wp-admin
Username = admin OR your johndoe
Password = given in your installation email OR 123abc456def7890
There are a few things that you will want to do immediately.
Delete the “admin” user. If your installer did not give you the option of selecting a custom admin user, you’ll want to:
- Navigate to Users » Add User. Create a new user for yourself. Make sure that author name is the one that you want to be visible inside WordPress. Give that new user the role of Administrator. Make sure that you choose a password that is secure and different from your database password. Again, I recommend a 16-character randomly generated password.
- Log out of admin and in with your new username.
- Navigate to Users » Add User. Delete the admin user. Hackers target blogs that are easy to get into, and the first username that they will try is ‘admin’. Make yourself less susceptible by deleting the user.
Adjust your basic settings.
- Navigate to Settings » General. Update all of the fields. Be sure that the “Anyone can register” box is unchecked.
- Navigate to Settings » Reading. Select the box that says: “Discourage search engines from indexing this site”. We’ll uncheck this box once your blog is styled and ready for the world to see!
- Navigate to Settings » Permalinks. Choose either “Post Name”, “Day and Name” or “Month and Name”. Leaving the default is bad for SEO (search engine optimization purposes). A post URL of www.mycookingsite.com/blog/?p=123 means nothing to Google; a post URL of www.mycookingsite.com/blog/2010/01/brownie-recipe is much more descriptive!
Remove WordPress default content.
- Navigate to Comments and delete the initial comment that WordPress creates.
- Navigate to Posts and delete the “Hello world!” post.
- Navigate to Pages and delete “Sample Page”.
- Navigate to Plugins and delete the “Hello Dolly” plugin (unless you really love the song Hello Dolly!).
Voila – you have WordPress! The next post in this series will be all about plugins!