If you are a WordPress developer, or you just drafted your WordPress based site on a local machine and want to move it to its final location / domain, then you will most probably need to change all the links in your posts, pages, media … basically everywhere.

Luckily there is an easy solution for that. Read further to find out how to move your WordPress site to a new domain in 2 minutes.

Changing the URL under Settings > General is one step, but it is not enough. And it shouldn’t be the first step!

What you need is the Velvet Blues Update URLs plugin for WordPress. Go ahead, install and activate it! It will make moving your site a child’s play.

velvet-bluesTo make the sitemove trouble free, do the following:

  1. Create a backup from your site. Just in case.
  2. After installing the Velvet Blues plugin go to Tools > Update URLs.
  3. Enter your current (old) URL with http:// and everything in the appropriate box (e.g. http://webdev.divi-magazine.com or
  4. Then enter your new URL in the below field (e.g. https://divi-magazine.com/)
  5. Make sure they are correct!!!
  6. Check the appropriate checkboxes indicating which URLs should be updated. (I usually check all, EXCEPT the last one.)
  7. Hit the blue update button.
  8. Now go to Settings > General and enter your new URL into the 2 fields and hit ‘Save changes’. This will log you out. (And your site will likely be inaccessible until you finish the next step.)
  9. Move your site to the new location / domain.
  10. And you are set.

Sounds easy, no? Well, because it is. All your links are cared for. Beside the time needed to move your files to a new location, the whole procedure takes about 2 minutes.


Thanks to the creators for this excellent plugin. Deserves 5 stars!

In case you run into any trouble during the process (you never know, it can happen), and cannot log in any more, because the domain is already changed under Settings > General then don’t despair. Go to your database (I use phpMyAdmin) and open your Options table. You will need to change the option_value where the option_name is ‘siteurl’ and ‘home’. Then you can redo the above process.

Note: I tested it with WordPress 4.1 and works as expected.


If you liked this post ...

... then share it with your friends!