Plugin Directory

Slugs Manager: Delete Old Permalinks from WordPress Database

Slugs Manager: Delete Old Permalinks from WordPress Database


“Great plugin and great service!: Great plugin and really great Service! I am happy with the plugin! I needed some support and I was kindly helped, almost directly with best results I could wish for.” – ⭐⭐⭐⭐⭐ tinytiny

Main Page | Support Forum | Documentation & How to

Are you struggling with old, unnecessary slugs living in your WordPress site database? Over time, as your site grows and changes, old slugs can build up and slow things down.

You also might have tried to create a post but WordPress decided to add “-2” to the slug, because the exact same slug is available in the database from an old, deleted post.

With Slugs Manager: Delete Old Permalinks, you can easily clean up your database and keep your site running smoothly.

And if you’re running a WooCommerce store, you might have noticed that old slugs can accumulate even faster, especially as you add and remove products. These unused slugs can clutter your database and impact your site’s performance, and that’s why our plugin was created.

This plugin helps in making your website faster, while ensuring that your posts & products URLs remain optimized for better search engine rankings and a smoother user experience.

🚀 Main Features: FREE Version

🚀 Scan Database for Old Slugs

In a neat interface, the plugin shows a list of all slugs that have changed, listing old slug, current slug, post title, and post type so you have a general overview of the old slugs in database

🚀 Remove Selected or ALL old Slugs

The interface allows you to select several slugs to be deleted, or all of them at once.

🚀 WooCommerce Products Support

The plugin works on different types of posts, so if you have WooCommerce store with thousands of products, the plugin will scan all products old slugs and show products that have old slugs saved in database.

🚀 Optimize Database & Website Speed

For large stores or websites with extensive content, URLs change and evolve, overtime, these old slugs accumulate, potentially cluttering the database. By efficiently managing and removing these old slugs, the plugin ensures optimal performance, especially in scenarios with thousands of URLs.

Important SEO Note

Generally, WordPress creates redirects from old slugs to new slugs to maintain all links without 404 errors, this also comes with an SEO advantage since 301 redirects carry link weight (authority) from old link to new link.

Whenever you use the plugin, be careful when cleaning up all old slugs, if you need the URLs to be redirected but cleaned from the database, you can use a plugin like Rank Math, where it creates & saves redirections whenever you update a post slug, but having it enabled might prevent you from using a desired slug if it was saved as a redirect.

❤️ User Testimonials: See What Others Are Saying!

“It freakin’ worked!: Leave it to WordPress to have such a crappy website building model that even after you delete old pages, the slugs/URLs/permalinks would somehow still exist somewhere in the background, disallowing you from using it for new pages. Luckily, this plugin is simple, requires the click of pretty much 1 button, and SOLVED my god-d*mn problem. THANKS!” – ⭐⭐⭐⭐⭐ chriswordpressorg

“You may not know you need this!: If you’ve ever changed the permalink structure of your site – or just changed some of the permalink slugs on posts – you’ve got left-over junk in your WP trunk! This plugin found and eliminated 277 old permalinks from my site in about two seconds and with two clicks! Unless your WP site is brand-new, you probably need this plugin!” – ⭐⭐⭐⭐⭐ markcorder

🏆 Do More: PRO Version

If you want to opt-in for the premium version of Slugs Manager: Delete Old Permalinks plugin, take a look at what it offers:

🏆 Delete Old Slugs Automatically on a Schedule

Select from once a minute to once a week, the plugin offers a scheduled clean up option to keep your database clean from old slugs without any manual intervention.

🏆 Delete Old Slugs Clean Up on Save Post

If you don’t want to use the schedule, you can manually clean the database and then enable this option to automatically clear old slugs whenever a post is saved, no more slugs stacking up in the database.

🏆 Regenerate Slugs From Post Title

Automatically generate post slugs from titles to make slugs reflect the actual content, be careful as this might affect your SEO if done on large scale or periodically.

“Solved the Problem in One Click!!!: Wonderful, thanks for this….” – ⭐⭐⭐⭐⭐ supriokundu

“Great help: This software helped me out from deleting unexpected URL. From the appreciation feeling, I offered Japanese translations.” – ⭐⭐⭐⭐⭐ surlofia

💯 Why WPFactory?

  • Experience You Can Trust: Over a decade in the business
  • Wide Plugin Selection: Offering 65+ unique and powerful plugins
  • Highly-Rated Support: Backed by hundreds of 5-star reviews
  • Expert Team: Dedicated developers and technical support at your service

What’s Next? Discover More Plugins by WPFactory

WPFactory has a diverse range of plugins tailored to enhance your experience:


Follow these simplified steps to get your plugin up and running:

From the WordPress Admin Panel:
1. Navigate to “Plugins” > “Add New”.
2. Use the search bar and find the plugin using the exact name.
3. Click “Install Now” for the desired plugin.
4. Once the installation is finished, and click “Activate”.

Manual Installation Using FTP:
1. Download the desired plugin from WordPress.org.
2. Using your preferred FTP client, upload the entire plugin folder to the /wp-content/plugins/ directory of your WordPress installation.
3. Go to “Plugins” > “Installed Plugins” in your dashboard and click “Activate”.

Manual download & upload from the WordPress Admin Panel:
1. Download the desired plugin in a ZIP format.
2. On your site, navigate to “Plugins” > “Add New” and click the “Upload Plugin” button.
3. Choose the downloaded plugin file and click “Install Now.”
4. After the installation is complete, click “Activate”.

Once activated, access the plugin’s settings by navigating to “WooCommerce > Settings” and look for the relevant tab.


Do I need to keep the plugin enabled once I run its tools (e.g., removed old slugs)?

No, you can disable the plugin.


October 21, 2020 5 replies
This software helped me out from deleting unexpected URL. From the appreciation feeling, I offered Japanese translations.
September 12, 2019
Great plugin and really great Service! I am happy with the plugin! I needed some support and I was kindly helped, almost directly with best results I could wish for. Tiny
January 27, 2017 1 reply
Didn’t work on WordPress 3.4.2, showed nothing in the list and the start button did nothing.
Read all 12 reviews

Contributors & Developers

“Slugs Manager: Delete Old Permalinks from WordPress Database” is open source software. The following people have contributed to this plugin.


“Slugs Manager: Delete Old Permalinks from WordPress Database” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Slugs Manager: Delete Old Permalinks from WordPress Database” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


2.7.4 – 18/05/2024

  • readme.txt content update.

2.7.3 – 17/05/2024

  • readme.txt content update.

2.7.2 – 17/05/2024

  • readme.txt content update.

2.7.1 – 16/05/2024

  • Tested up to: 6.5.
  • readme.txt content update.

2.7.0 – 31/01/2024

  • Dev – Old Slugs – User permissions check and nonce added.
  • Dev – Automatic Clean Ups – User permissions check and nonce added.
  • Dev – Regenerate Slugs – User permissions check and nonce added.
  • Dev – Flush Rewrite Rules – Nonce added.
  • Dev – Code refactoring.
  • Plugin contributors updated.

2.6.7 – 26/11/2023

  • Plugin contributors updated.

2.6.6 – 26/11/2023

  • Tested up to: 6.4.
  • Plugin name updated.

2.6.5 – 06/11/2023

  • Dev – PHP 8.2 compatibility – “Creation of dynamic property is deprecated” notice fixed.

2.6.4 – 26/09/2023

  • Tested up to: 6.3.

2.6.3 – 18/06/2023

  • Tested up to: 6.2.

2.6.2 – 09/11/2022

  • Tested up to: 6.1.
  • Readme.txt updated.
  • Deploy script added.

2.6.1 – 13/04/2022

  • Tested up to: 5.9.

2.6.0 – 27/06/2021

  • Dev – Regenerate Slugs – “Post types” option added.
  • Dev – Remove Old Slugs – Link added to the “Post Title” column.
  • Dev – Code refactoring.

2.5.1 – 05/05/2021

  • Dev – Extra Tools – “Flush rewrite rules” tool added.

2.5.0 – 29/03/2021

  • Dev – Plugin renamed (was “Remove Old Slugs”).
  • Dev – Remove Old Slugs – It is now possible to delete only certain old slugs (i.e., vs all at once).
  • Dev – Localisation – load_plugin_textdomain() function moved to the init hook.
  • Dev – Admin settings restyled; descriptions updated.
  • Dev – Code refactoring.
  • Tested up to: 5.7.

2.4.1 – 12/08/2020

  • Tested up to: 5.5.

2.4.0 – 03/12/2019

  • Dev – Major code refactoring.
  • Dev – Admin settings restyled.
  • Dev – Sanitizing all input now.
  • Dev – Escaping all output now.
  • Tested up to: 5.3.

2.3.0 – 18/10/2019

  • Dev – “Regenerate Slugs” section added.

2.2.1 – 13/07/2019

  • Tested up to: 5.2.
  • Plugin URI updated.

2.2.0 – 31/05/2018

  • Dev – Pro – Old slugs clean up on save post.
  • Dev – Pro – Scheduled old slugs clean up.

2.1.0 – 05/08/2017

  • Dev – load_plugin_textdomain() moved from init hook to constructor.
  • Dev – Minor code refactoring and clean up.
  • Dev – Donate link updated.

2.0.1 – 25/10/2016

  • Dev – Language (POT) file added.

2.0.0 – 25/10/2016

  • Dev – Major code refactoring.
  • Dev – WordPress Multisite support added.
  • Dev – Language (translations) support added.
  • Dev – Plugin renamed.


  • Refresh link added.
  • Minor bug fixed.


  • Initial Release