The Easiest Ways to Change Your WordPress Site Domain Name

The Easiest Ways to Change Your WordPress Site Domain Name

Adam Morgan

For some people, changing the name of your WordPress site can be a painful process.  With a million moving parts to consider, overlooking just one can land you in trouble!  Don’t make this decision lightly as it comes with a number of tricky steps.  It’s important that you’ve done your research before attempting to change the name of your WordPress site.

To avoid any unfortunate hiccups with your name change, we’ve put together a handy guide outlining the easiest ways for you to change your domain name.

Changing Your WordPress Site Name

This first option will involve you exporting all of your WordPress content from your existing domain and then importing it to your new domain.  You’ll then need to setup a special URL redirection to ensure all the incoming traffic you get moves over to your new site.  Sounds super simple, right?  In fact, this option comes with a couple of complex steps that you’ll need to pay attention to.

WordPress relies heavily on a base URL, which helps to properly load any media or pages on your site.  As you’re planning to move your site to a different URL, you’ll also need to change the base URL found in your WordPress site’s settings to make sure this reflects your name change.

  1. Login to your WordPress dashboard
  2. Head to the Settings panel and visit General
  3. Here you’ll need to find the WordPress Address (URL) and Site Address (URL) and make a note of your exact URL address. You’ll need access to this information later on, so make sure you put this information in a safe place!
  4. Change your WordPress Address and Site Address URLs
  5. Save all your changes
  6. Log out of your WordPress dashboard and close your browser window

Using phpMyAdmin to Change Your WordPress Domain Name

If you can’t access your WordPress dashboard, you can opt to use the useful phpMyAdmin instead.

  1. Open phpMyAdmin
  2. Locate your wp_options table after selecting your WordPress database
  3. Scroll to the wp_options row and select your first con under the actions toolbar
  4. Select the pencil edit button to the left
  5. Change your URL to your desired domain name
  6. Hit the Go button to save your new settings

Correcting Any Broken Pathways

When you’ve finished moving your WordPress site’s files, check to see if you can view the site.  Sometimes, your site can appear broken, as if your media files and CSS are missing.  Don’t worry!  They aren’t missing.  It’s just that the URLs are incorrect.  To fix this issue, you’ll need to update the hardcoded URLs in your database.

Following these steps to change the name of your WordPress site should avoid any stressful situations from happening.  When you break down this process, it’s actually fairly simple if you have the right information to help you out.

Have you ever changed the domain name of your website?  Which process did you follow?  Perhaps you will use one of our options above if you need to change your WordPress domain name in the future.

Adam Morgan

Author Adam Morgan

More posts by Adam Morgan