WordPress Blog Software (in /wordpress folder)
This page explains how to install the WordPress blog software on your website. WordPress is one of the most popular blog programs — it's free, easy to install, and works well on our servers.
Follow these instructions if you want to place your blog in a sub-folder (such as http://www.example.com/wordpress). You should also decide whether you will access your blog via the sub-folder (for example, http://www.example.com/wordpress), or as a sub-domain (for example, http://wordpress.example.com).
If you instead want to run the blog at the top level of your web site (http://www.example.com) then follow these instructions instead.
These instructions are based on WordPress 3.5 and assume you're using Windows on your own computer, although the procedures are very similar for other versions of WordPress and for Mac OS X.
1. Get WordPress
Download the most recent zip version from http://wordpress.org/download/ onto your own computer, then extract the files. This creates a folder named "wordpress" on your computer.
2. Create a MySQL database
WordPress uses a MySQL database to store the blog entries. We recommend creating a new database specifically for WordPress, rather than using an existing one. To create the database on our servers, follow our instructions explaining how to create a MySQL database.
There's no specific format you need to follow when naming the database. The rest of these instructions will assume that your database is called "wpexample" — if you use a different name, just use that name instead of "wpexample" when following the instructions below.
3. Tell WordPress the Database Details
Now you need to tell WordPress how to connect to your database.
Look in the "wordpress" folder on your computer and open the wp-config-sample.php file using a text editor such as NotePad. A few lines down you will see the following entries:
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
You need to edit the first three of these lines, replacing the 'wordpress', 'username' and 'password' values as follows:
define('DB_NAME', 'wpexample'); // The name of the database define('DB_USER', 'wpexample'); // Your MySQL username define('DB_PASSWORD', '********'); // ...and password define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
Note that the values of DB_NAME and DB_USER are the same (the name of the database you created on our servers). The password is the password you chose when creating the MySQL database. The DB_HOST does not need to be changed (it should be 'localhost').
Once you have done this, save the file wp-config-sample.php, then rename it to wp-config.php.
Finally, upload the entire "wordpress" folder — and all of the files in it — to your website using an FTP program.
(The name of the folder you upload will be the address of the blog on your website. For example, if you leave it named "wordpress", your blog will appear at http://www.example.com/wordpress/. If you want to use, say, http://www.example.com/blog/, rename the "wordpress" folder to "blog" on your computer before you upload it.)
4. Run the Installation Script
Open the blog page in your Web browser. If you uploaded the "wordpress" folder to your website without changing the name, this page can be found at http://www.example.com/wordpress/ (with your domain name instead of "example.com").
A page will appear that asks you for your blog title, password, email address, and whether you would like your blog to appear in various search engines:
Enter those values, then click Install WordPress. WordPress shows you a screen that looks like this:
Click the button to log in.
The installation is now complete. You can now use WordPress.
Your copy of WordPress is located at http://www.example.com/wordpress/ (with your domain name instead of "example.com") (or a different address if you changed the folder name). Just go to that address to use WordPress.
Optimizing WordPress for performance
If you expect to have a busy WordPress site, you should read our article about optimizing WordPress performance. It explains some simple changes that make WordPress run more than 200 times faster. (Without doing this, WordPress doesn't work well with more than a few thousand page views per day.)