Have you ever setup a WordPress site without the leading www…or with the leading www…and now you want to change it. It is easier than you think. Here are some steps that should work for you (they did for me):

  1. Start by logging in to the cPanel of server that is hosting your site.
  2. Click on phpMyAdmin
  3. Click your database in the left pane. Several tables appear below it. Click on your wp_options table
  4. Locate the ‘siteurl’ and ‘home’ rows. Click the pencil icon next to each to edit.
  5. Click the pencil icon next to each to edit.
  6. Alter the URL by typing in a new one.
  7. Click the Go button to save the settings. Do this for both the ‘siteurl’ and ‘home’ options.

You should now be able to log into your site at example.com/wp-login.php.

Although this gives you access to your site, any former URLs in your database are still using the old URL. You should now use a plugin to update all URLs in your database to the new URL.

View the following article for full instructions: Changing all URLs in your WordPress database

Hope that helps. If you ever need assistance…reach out to ScottE Software Development at info@scottesoftware.com or visit www.scottesoftware.com.

Scott E

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here