Subscribe On YouTube

Join other subscribers and enjoy other Divi video tutorials!

How To Replace URLs In WordPress

Nelson Miller Profile Orange
This tutorial will how you how to replace your WordPress URLs if you have migrated your site, imported a demo, went live, or installed an SSL.

When Would You Need To Replace URLs

There are quite a few occasions that you would need to replace the old urls in a site with new ones. Here are few that come to mind:

  • If you have migrated the site to a new domain
  • If you had a site on a staging or temporary site and want to take it live
  • If you installed an SSL certificate and have mixed content errors
  • If you imported a child theme that contained demo links

I’m going to show you how easy it is to replace the URLs in this tutorial.

▶️ Please watch the video above to get all the exciting details! 👆

Install The Plugin Of Your Choice

There are several plugins that will replace URLs for in your website for free in the WordPress repository. I have tested them all, but not in any methodical or thorough way. It seems there are some instances where one works but not the other, and this can depend what you are trying to do. Here are the plugins I have found that are useful for this:

Velvet Blues Update URLs

Go Live Update Urls

Search & Replace

Better Search Replace

I tend to always use Better Search Replace, but I don’t think there is a right or wrong. The process is going to be very similar. All of the plugins add this setting to the Tools menu in your Dashboard. Most of the settings interfaces are very similar.

I had to choose one for the tutorial, so I’m going with the one I have used the most and has the most installs, which is Better Search Replace.

From your WordPress dashboard, go to Plugin>Add New.

Search for “Better Search Replace”

Click “Install”

Click “Activate”

Replace The URLs

Now let’s get started replacing the URLs in your WordPress website. To begin, go to the plugin settings located at Tools>Better Search Replace.

replace demo urls in Divi

In the field that says “Search for” add the url that needs to be replaced.

In the field called “Replace with” add the url 

In the “Select tables” area, click to select one of the items and click Control + A on your keyboard to select all of them. They will become highlighted as selected.

If your url happens to be case-sensitive, then check that, but that’s probably rare.

The plugin has the “Run as dry run?” selected by default. This is because this entire action of replacing URLs could break the site if it is not done carefully. Once you are certain the Search for and Replace with urls are definitely correct, you can uncheck this option and proceed.

And now for the big moment. Click the “Run Search/Replace” button to begin the replacement of the URLS in the site.

Once this is completed, the plugin has finished it’s job, so you can deactivate and delete it.

Subscribe For More Things Like This!

At the start of each month, we send out a recap newsletter from the month before with family news, Divi news, our latest tutorials, and product news. Occasionally, if the news is too exciting to wait, we will send out another email separate from the monthly newsletter. That’s what you get when you subscribe, and of course you can unsubscribe if you are no longer interested!

Blog Post Optin
Divi Logo (2)

Shop Our Divi Products

Plugins • Courses • Templates

Visit The Shop

Featured Products

Asset 4

New! Trail Guides

Follow a series of blog posts carefully arranged around a specific topic or goal! Keep track of your progress by marking posts completed, just like a free course!

View Trial Guides

Divi Tutorials On YouTube

Our videos have views! Join subscribers and enjoy over video tutorials!

Visit Our Channel

Leave A Response!

By commenting you agree to our Blog & YouTube Comments Policy

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent Posts

0

Your Cart