Migrated WordPress website to a new server with a new domain, want to update all old domain links with new?

This is a very common but very much of use in the life of WordPress developers. Consider a situation where we have restlessly worked on a website with domain www.example1.com, while adding content, uploading images to posts and other pages we get the domain www.example1.com in all pages or posts data stored in database and it becomes very frustrating at the time when we migrate our website or work to a new server with a new domain. Imagine a situation, where you are editing/updating each and every image path, post and pages added to the website, it will be very tough and hard to come out of this situation.

Now, after working on a number of websites, I have tried a different set of solutions to overcome from the ugliness of this situation. Please find the below information on the same. I hope this will be useful for you or some other guyz around you. 🙂

1. Velvet Blues Update URLs : If you move your WordPress website to a new domain name, you will find that internal links to pages and references to images are not updated. Instead, these links and references will point to your old domain name. This plugin fixes that problem by helping you change old urls and links in your website.

Please visit this plugin documentation to read and have more information on this.

2. Go Live Update URLs : Goes through entire site and replaces all instances of and old url with a new one. Used to change the domain of a site.

Please visit this plugin documentation to read and have more information on this.

3. Use Wulumulu (custom script) for updating or replacing all URLs from entire database : This script has everything that you can imagine of .. I mean if you do not want to install any plugin or want to replace texts or urls within your wordpress database, you can use this script. It’s tested and very easy to use.. You just have to upload the wulumulu.php file in to your wordpress installed root directory and access the page using the browser.
Please make sure to remove the file once the work is done.

Download Script

I hope the above tools will be very useful for you. Please try the 3rd option for simple but very effective approach.

Note*: Before going through any update process which is related to database, I would highly recommend you to take a complete back up of your database. Please do not ignore this suggestion.

Please share your thoughts and let us know if you have got something more or new related to this kind of task.

Thanks!

Related Post

Advertisements

Yuvraj has written 39 articles

"Learn & Share" - I believe in this. What about you?