How to move WordPress to site root on GoDaddy

The following describes how I successfully installed and configured WordPress to run from the root of my website hosted on GoDaddy.

After doing a little research on blogging applications, WordPress rose to the top as one of the most prolific and extensible platforms to use for both websites and blogs.

Since I already have a GoDaddy hosting account, and they offer WordPress as one other their canned web applications install options, I decided to give it a whirl.

What I did not count on was the amount of effort it would take me to get the site configured as desired.

For instance, by default, GoDaddy installs WordPress in a folder just off the root of my website, which is located on and IIS 8.5 web server. I wanted to be able to launch the website (my blog) from the root of

So, after a little more googling, I learned that you have to do something like the following to get this to work properly:

  1. Launch your WordPress website as an administrator, and go to the Dashboard to bring up the toolbar side menu.
  2. Navigate to and then select the Settings -> General menu item. The General Setting page appears.
  3. The WordPress Address (URL) and the Site Address (URL) input fields will likely both be configured to the location of the WordPress installation subfolder.
  4. Modify the  Site Address (URL) input field to instead point to the root of the website. (e.g.,
  5. Next, you need to copy (not move) the index.php file from your WordPress installation subfolder to the root of your website.
  6. In the root folder copy of the index.php file, locate the following statement:
    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
  7. Replace the above statement with the following statement:
    require(‘wordpress_folder/wp-blog-header.php’ );
    where wordpress_folder is the name of your WordPress installation subfolder location.
  8. Finally, you must create an instance of a web.config file and place it in the root of your website. In this root folder web.config file, add the following entries to support URL rewriting to transparently redirect incoming root requests to the WordPress application.

You should now be able to launch your website using the root URL and see your WordPress content.

Stay tuned for more WordPress setup steps to come…

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s