How to change the WordPress URL
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

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 333,180 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 644,935 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 209,566 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 276,516 views tags: home site url wordpress wordpresstools

Related Help Content

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

How to change the name of your WordPress site without WP Tools
Knowledgebase Article 249,510 views tags: change domain update wordpress

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 Data
Getting Started Article 703,314 views tags: blog export file import wordpress

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

This article will explain how to change or reset the password for a MySQL user.
Knowledgebase Article 156,443 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 295,845 views tags: access dashboard deactivate disable plugin plugins theme themes wordpress

There are multiple different ways you can install a theme you have purchased for your WordPress site. This article will explain our two recommended methods for installation.
Knowledgebase Article 109,916 views tags: auto automatic certified download install manual premium themes update upload wordpress

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

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here