How to Regenerate Your Permalinks in WordPress

Do you need to regenerate or empty your WordPress permalinks?

If you can’t see your website content, neither can your visitors. Broken links and 404 errors can hurt user experience and your position in SEO rankings.

In this article, we will show you how to fix these dead URLs by regenerating your permalinks in WordPress. We’ll also talk about what causes this error and how to spot broken links before your visitors do.

How to Regenerate Your Permalinks in WordPress

Why do I need to regenerate permalinks in WordPress?

Most of the time, your WordPress site URLs are permanent and won’t cause any problems. They just work.

However, sometimes you can click on a link and get a 404 error. You might even get a 404 when trying to access your entire WordPress website.

This sometimes happens after moving your WordPress site to a new host or server. This can also happen after installing a new plugin. Indeed, some plugins modify the .htaccess file of your site without your knowledge. This can affect your site in a number of ways, including damaging your URLs.

To note: For this tutorial, you will need to be able to log in to the WordPress dashboard. If you can’t access your WordPress admin page, check out our step-by-step guide on what to do when you’re stuck on WordPress admin.

Often, regenerating your permalinks can be a quick and easy solution to these issues. Let’s see how to do it.

How to Regenerate Your Permalinks in WordPress

When you regenerate your links, you rebuild and repair the WordPress permalink structure. This may sound complicated, but don’t worry. All you have to do is click a button and WordPress will take care of the rest.

To get started, go to Settings ยป Permalinks from your WordPress admin menu.

WordPress permalink settings.

This will take you to the WordPress Permalink Settings page. Here you will see the permalink structure you are currently using.

WordPress supports several options for permalinks. You can check out our guide on creating custom permalinks in WordPress for step-by-step instructions on how to customize them.

To regenerate your permalinks, simply scroll down to the bottom of the page and click the “Save Changes” button.

After a few moments, you should see a message confirming that WordPress has updated your permalink structure.


That’s it! WordPress has now regenerated your permalinks.

To make sure it worked, go to your site and try clicking on a few different links.

Do you still see permalink errors after rebuilding?

If you are still getting 404 errors, you may need to clear your browser cache. For more details, see our guide on how to clear your browser cache in all major browsers.

If that doesn’t fix the problem, think about what happened just before you started seeing those 404 messages. If you just installed or updated a plugin, it might have affected your links. You can try disabling this plugin, to see if that removes the 404 error.

Plugin settings, as seen in the WordPress dashboard.

If that doesn’t work, you can try disabling all plugins to see if that fixes your broken links.

This is a bit of a drastic step, so it’s a good idea to put your site in maintenance mode first. This will keep visitors informed while you test your plugins, giving a better impression than seeing a faulty website.

If disabling all of your plugins fixes the problem, you’ll know that at least one plugin is affecting your URLs. In this case, re-enable each plugin individually, then test its impact on your links.

When the 404 error reappears, you have found the plug-in causing the problem. You can then remove this plugin from your site or ask the developer for help.

Your site should now be error-free and working properly. Otherwise, check out our list of the most common WordPress errors and how to fix them.

How to Track and Avoid Broken Permalinks in WordPress

Broken links are bad news for visitors, conversions, and your search engine rankings. Over time, dead URLs can impact your position in search engine rankings. This means less traffic to your website.

With so much at stake, you’ll want to know about all the dead links as soon as possible.

The easiest way to track and fix broken links on your WordPress website is to use the All-in-one SEO (AIOSEO) plug-in for WordPress. Over 3 million website owners use AIOSEO, including us here at WPBeginner.

The WordPress All in One SEO (AIOSEO) plugins.

AIOSEO makes it easy for you to find broken links and fix them in just a few clicks using their powerful redirect manager. For more details, please see our guide on how to track 404 pages and redirect them in WordPress.

We hope this article helped you learn how to regenerate your permalinks in WordPress. You can also check out our guide on how to choose the best website builder, or our expert pick of the best domain registrars.

If you liked this article, subscribe to our Youtube channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Leave a Comment

Your email address will not be published.