How To Install WordPress
How To Install WordPress
How To Install WordPress
Edit
TOPICS
Things to Know Before Installing WordPress
Basic Instructions
Detailed instructions
o Step 1: Download and Extract
o Step 2: Download and Extract
o Using phpMyAdmin
o Step 3: Set up wp-config.php
o Step 4: Upload the files
o In the Root Directory
o In a Subdirectory
o Step 5: Run the Install Script
o Setup configuration file
o Finishing installation
o Installing WordPress at popular Hosting Companies
o installing WordPress at Atlantic.net
o Installing WordPress at AWS
o Installing WordPress at DigitalOcean
o Installing WordPress at Linode
o Installing WordPress at iPage Hosting
o Installing WordPress at Microsoft Azure
o Common installation problems
o Changelog
Basic Instructions
Here’s the quick version of the instructions for those who are already comfortable
with performing such installations. More detailed instructions follow.
1. Download and unzip the WordPress package if you haven’t already.
2. Create a database for WordPress on your web server, as well as a MySQL (or MariaDB) user who has
all privileges for accessing and modifying it.
3. (Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the
file (see Editing wp-config.php) and add your database information.
Note: If you are not comfortable with renaming files, step 3 is optional and you can skip it as the
install program will create the wp-config.php file for you.
4. Upload the WordPress files to the desired location on your web server:
If you want to integrate WordPress into the root of your domain (e.g.
http://example.com/), move or upload all contents of the unzipped WordPress directory
(excluding the WordPress directory itself) into the root directory of your web server.
If you want to have your WordPress installation in its own subdirectory on your website
(e.g. http://example.com/blog/), create the blog directory on your server and upload the
contents of the unzipped WordPress package to the directory via FTP.
Note: If your FTP client has an option to convert file names to lower case, make sure it’s
disabled.
5. Run the WordPress installation script by accessing the URL in a web browser. This should be the URL
where you uploaded the WordPress files.
– If you installed WordPress in the root directory, you should visit:
http://example.com/
– If you installed WordPress in its own subdirectory called blog, for example, you
should visit: http://example.com/blog/
That’s it! WordPress should now be installed.
Top ↑
Detailed instructions
Top ↑
Top ↑
Top ↑
Using phpMyAdmin
2. Click the phpMyAdmin icon in the upper left to return to the main page, then click
the Users tab. If a user relating to WordPress does not already exist in the list of users, create
one:
1. Click Add user.
2. Choose a username for WordPress (‘wordpress‘ is good) and enter it in
the User name field. (Be sure Use text field: is selected from the dropdown.)
3. Choose a secure password (ideally containing a combination of upper- and
lower-case letters, numbers, and symbols), and enter it in the Password field. (Be
sure Use text field: is selected from the dropdown.) Re-enter the password in
the Re-type field.
4. Write down the username and password you chose.
5. Leave all options under Global privileges at their defaults.
6. Click Go.
7. Return to the Users screen and click the Edit privileges icon on the user
you’ve just created for WordPress.
8. In the Database-specific privileges section, select the database you’ve
just created for WordPress under the Add privileges to the following
database dropdown, and click Go.
9. The page will refresh with privileges for that database. Click Check All to
select all privileges, and click Go.
10. On the resulting page, make note of the host name listed after Server: at
the top of the page. (This will usually be localhost.)
Top ↑
(For more extensive details, and step by step instructions for creating the
configuration file and your secret key for password security, please see Editing wp-
config.php).
Return to where you extracted the WordPress package in Step 1, rename the file
wp-config-sample.php to wp-config.php, and open it in a text editor.
Note: The location of your root web directory in the filesystem on your web server will vary across hosting
providers and operating systems. Check with your hosting provider or system administrator if you do not know
where this is.
Top ↑
In a Subdirectory
If you need to upload your files to your web server, rename the wordpress directory to your desired
name, then use an FTP client to upload the directory to your desired location within the root directory of
your website.
If your files are already on your web server, and you are using shell access to install WordPress, move
the wordpress directory to your desired location within the root directory of your website, and rename
the directory to your desired name.
Top ↑
If WordPress can’t find the wp-config.php file, it will tell you and offer to try to
create and edit the file itself. (You can also do this directly by
loading wp-admin/setup-config.php in your web browser.) WordPress will ask
you the database details and write them to a new wp-config.php file. If this works,
you can go ahead with the installation; otherwise, go back and create, edit, and upload
the wp-config.php file yourself (step 3).
Top ↑
Finishing installation
The following screenshots show how the installation progresses. Notice that in
entering the details screen, you enter your site title, your desired user name, your
choice of a password (twice), and your e-mail address. Also displayed is a check-
box asking if you would like your blog to appear in search engines like Google
and DuckDuckGo. Leave the box unchecked if you would like your blog to be
visible to everyone, including search engines, and check the box if you want to
block search engines, but allow normal visitors. Note all this information can be
changed later in your Administration Screen.
If you successfully install the WordPress, login prompt will be displayed.
Install script troubleshooting
– If you get an error about the database when you run the install script:
– Go back to Step 2 and Step 3, and make sure you entered all the correct database
information into wp-config.php.
– Make sure you granted your WordPress user permission to access your
WordPress database in Step 3.
– Make sure the database server is running.
Top ↑
Top ↑
Installing WordPress at Microsoft Azure
Installing WordPress on Microsoft Azure is as simple as a few clicks. A hosting space and MySQL
database will be created and configured, so you’re ready to start creating within a matter of seconds.
Running into some issues and need to troubleshoot your WordPress site on Azure? Follow this
handy Troubleshooting guide for WordPress on Azure
There is a full listing of resources on how to learn more about WordPress on Microsoft Azure!
Top ↑