Skip to content

When moving your WordPress site, here’s how to easily update the URLs


When and why should your URLs be upgraded?

Assume you’ve relocated a WordPress site to a specific domain. The WordPress address and site URL may then be modified in your WordPress dashboard by turning to the Settings » General page.

This has no influence on the URLs you’ve previously assigned to your posts and pages. It also has no influence on the URLs of images you’ve posted to your WordPress site. Manually changing all of these URLs in each blog post and page might take a long time. Furthermore, it is possible that you may neglect some URLs, resulting in broken links on your website. As a result, it’s necessary to adjust your URLs while transferring your WordPress site. It helps your users discover the page they’re looking for, resulting in a better user experience. Updating URLs also aids search engines in identifying new material to index, which improves your WordPress SEO. Finally, ensure that appropriate 301 redirects from your old domain to the new domain are in place so that people are always directed to the proper destination.

This is vital since other websites, such as social media postings, Google, and others, are most likely pointing to your prior domain. With that in mind, let’s take a look at how you may quickly and efficiently change URLs when migrating your WordPress site. Make sure to change the URLs after shifting a WordPress site. The WordPress Go Live Refresh Urls plugin is the simplest method to refresh obsolete URLs on your website. It’s a free WordPress plugin that lets you alter the URLs of posts, pages, galleries, excerpts, widgets, and other areas. Before altering any of the links, make a complete backup of your WordPress site. If something goes wrong during the repair, you’ll be able to throw back fast.

Afterwards the, the Go Live Update Urls must be installed and activated on your site.

Once activated, navigate to Tools » Go Live in your WordPress admin panel.

After that, you may alter URLs in your topics, comments, parameters, user data, and other regions of your site by enabling the WordPress core tables options in the plugin.

WordPress core tables organise and retain all of your website’s data. A wp comments table, for example, will include all of the information surrounding comments on your site as well as information on the individual who made the comment.

Update to Go Live Urls also permits you to modify outdated URLs in the data that many plugins on your website rely on. This is an optional step that you can omit.

Scroll down to the section where you may update the old links to the new URLs. Fill in the required information in the ‘Old URL’ and ‘New URL’ sections.

After that, simply click the ‘Update Urls’ option. All of your site’s URLs will now be switched to the new domain by the plugin.

Redirect posts and pages after altering URLs

After you’ve changed all of your website’s URLs, you’ll need to set up 301 redirects to your new domain for the whole site. This will avoid bugs and errors by retaining links from sites that were linked directly to your prior domain.

The All in One SEO (AIOSEO) plugin is the most user-friendly approach to perform a thorough site redirect. With over 3 million professionals using it, it is the greatest SEO WordPress plugin.

With AIOSEO’s powerful redirection manager, you can redirect old URLs to new ones with only a few clicks. The plugin also helps you track 404 errors on your site, allowing you to quickly spot and rectify any broken links.

For this blog, we’ll utilise the AIOSEO Pro edition, this includes a redirection manager as well as other features like sitemaps, custom breadcrumbs, and schema markup. You may even get started with AIOSEO’s free plan.

The first step is to install and configure the AIOSEO plugin on your website. If you need guidance, check out our setup procedure a WordPress plugin.

Once activated, navigate to All in One SEO » Dashboard in your WordPress admin panel. Click the ‘Launch the Setup Wizard’ button to commence building the plugin.

All that remains is for you to follow the setup wizard’s instructions. For more details, see our detailed explanation on how to install All in One SEO for WordPress.

1 The first step is to enable Full Site Redirects

This technique is incredibly useful for merging two separate WordPress sites into one, or if you really want to develop a new WordPress install for the new domain, because it conducts a full site redirect without contributing any code.

Go to All in One SEO » Redirects in your WordPress admin area and click the ‘Activate Redirects’ button.

After activation, proceed to the ‘Full Site Redirect’ tab and enable the ‘Relocate Site’ box. Then, in the ‘Relocate to domain’ section, enter the name of your new domain.

To preserve your changes, remember to click the ‘Save Changes’ button after entering your new domain URL. AIOSEO will now redirect all links on your site to the new URL.

2. Creating Reroutes for Precise Posts / Pages

AIOSEO additionally offers a number of redirection options for enabling unique post / page redirects. The ‘301 Relocated Permanently’ redirection type is preferable since it alerts your browser that the page has been permanently relocated to a new address and that you do not want it shipped back.

Once you’ve done filling out these data, just click the ‘Add Redirect’ button.

Simply scroll down and watch the logs to see the several redirects you’ve set up.

You can even see the URLs, the number of people who have clicked on the link, the type of redirection you’ve decided, and whether the redirect is active or deactivated.

Server-level redirects, which are speedier, can also be set up on the ‘Settings’ page under Redirects. The default method is PHP, which is the most suitable way for diverting obsolete URLs and requires no database server.

You may, however, select ‘Web Server’ as your redirection method and either Apache or NGINX as your web server. This practice is not ideal for beginners since it requires specialized skills.

Keep an eye out over broken links on your website

When moving your URLs to a new site, it’s also vital to keep a lookout out for any broken links. These are links that no longer work go to a 404 error page. They can appear if a URL has not been properly updated.

AIOSEO’s Redirection Manager makes tracking and rectifying 404 error sites a snap.

To begin, head to All in One SEO » Redirects in your WordPress dashboard.

Then, under Redirects, go ahead and pick the ‘Settings’ tab, then toggle the ‘404 Logs’ and ‘Redirect Logs’ options on.

AIOSEO allows you to specify how long you want to keep your 404 error records. We recommend a time of no more than one month for smooth and effective WordPress performance.

Once you’ve enabled these options, click the ‘Save Changes’ button at the top to save your changes.

You should now notice a new 404 Logs tab under Redirects in AIOSEO. Under this tab, the plugin will track and show 404 error pages on your website.

It’s worth mentioning that there will originally be no data under the 404 Logs tab. After you’ve activated the settings, the plugin will begin analyzing broken links.

However, once you’ve selected the setting, navigate to the ‘404 Logs’ page. A list of broken links may be obtained under the URL column, or the number of visitors under the Hits column and the latest accessed date.

To repair any broken links, just select the ‘Add Redirect’ option for the relevant URL. AIOSEO will currently offer options for enabling 404 error URL redirection.

Enter the new link in the ‘Target URL’ list and hit ‘301 Moved Permanently’ from the Redirection Type dialog box.

After that, click the ‘Add Redirect’ option to resolve the broken link on your website.

To test yet if the redirection is properly, go to the old URL. If you are sent to the new URL, it signifies that the 404 error pages have been resolved.

We hope these tips has shown you how to change URLs when migrating a WordPress site.