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

Skip to main content

Just Host 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 331,384 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 642,411 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 207,700 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 274,826 views tags: home site url wordpress wordpresstools

Related Help Content

Using WordPress with the Temporary URL
Knowledgebase Article 734,763 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 246,942 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 justhost. Login to the WordPress Data
Getting Started Article 701,389 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 198,288 views tags: malware wordpress wordpresstools

This article will explain how to change or reset the password for a MySQL user.
Knowledgebase Article 154,713 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 293,813 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 108,376 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 133,748 views tags: wordpress

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.