HostMonster Web Hosting Help

How to change the WordPress URL

Overview

This article will explain how to change your WordPress Urls.

It is highly recommended that you make a backup of your database before continuing. If you don't know how please read How to Backup a MySQL Database

The urls in the database need to point to the actual location of your site. If they do not, the site will not work correctly.



What You Need

To perform this task you will need the following Items.

Access phpMyAdmin

These steps explain how to access phpMyAdmin.

  1. From your account cpanel, go to the databases group of icons, and click on phpMyAdmin.
  2. When prompted log in with your cPanel username and password.
    The phpMyAdmin login screen.
    The phpMyAdmin login screen.
  3. From the list of databases, select the database for your WordPress site.
    The phpMyAdmin database list.
    The phpMyAdmin database list.

Enter new URLs

These steps explain how to change the URLs in the database.

  1. In the table list, click on the options table
    Note: In our example the table prefix is "wp_" the prefix varies from site to site so don't worry if yours is different.
    The WordPress options table.
    The WordPress options table.
  2. Click edit next to the siteurl row
    The edit link.
    The edit link.
  3. Enter the new url into the option_value box
    Note: The urls in the database need to point to the actual location of your site. If they do not, the site will not work correctly.
    The option_vaule box.
    The option_value box.
  4. Click the Go button.
  5. Repeat these steps for the homeurl

The wordpress URLs will now be set to what you entered.

Now that the site URL's have been changed its a good idea to update your permalink structure as well. These steps explain how.

  1. Login to your WordPress dashboard.
  2. Hover over the settings link, in the menu that appears click on permalinks
  3. Without making any changes to your settings click the save button at the bottom.

The permalinks are now up to date

Video "How-to" Tutorial 137,970 views bookmark tags: login temp troubleshooting urls wordpress


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

This article will explain how to login to a website created with WordPress.
Knowledgebase Article 93,441 views tags: access admin change dashboard edit login site wordpress

This article will explain how to login to a WordPress site using WordPress tools.
Knowledgebase Article 32,404 views tags: login wordpress wordpresstools

This article will explain how to change the Site URL or Home URL setting in WordPress. This may be useful if you have moved your WordPress site or are planning to move your WordPress site.
Knowledgebase Article 39,120 views tags: home site url wordpress wordpresstools

Related Help Content

This article will explain why you see "Your WordPress site appears to be infected with malware. Please update to remedy this problem."
Knowledgebase Article 61,917 views tags: malware wordpress wordpresstools

Using WordPress with the Temporary URL
Knowledgebase Article 439,104 views tags: blog domain ip press resolve resolving temp temporary url word wordpress wrong

If you have a WordPress blog hosted on wordpress.com, you can easily export it and import it to WordPress that is installed on your hosting account with hostmonster. Login to the WordPress D
Getting Started Article 347,710 views tags: blog export file import wordpress

This article will explain how to change or reset the password for a MySQL user.
Knowledgebase Article 15,213 views tags: change mysql password reset user

This article explains how to deactivate, change or delete themes and plugins on a WordPress site without the dashboard.
Knowledgebase Article 43,418 views tags: access dashboard deactivate disable plugin plugins theme themes wordpress

This article will explain how to clean up meta data in a WordPress database.
Knowledgebase Article 8,753 views tags: wordpress

How do I change my Control Panel password?
Knowledgebase Article 409,311 views tags: change cpanel password passwords protect

This article explains how to reset a lost WordPress password using phpMyAdmin.
Knowledgebase Article 27,070 views tags: password phpmyadmin wordpress