Unique Slug Checker

Description

Unique Slug Checker helps you maintain clean, conflict-free URLs by detecting duplicate slugs across your entire WordPress site in real-time.

๐Ÿš€ Core Features:

โœ”๏ธ Real-time checking in both Classic and Gutenberg editors
โœ”๏ธ Full SEO plugin support (Yoast SEO, Rank Math, All in One SEO)
โœ”๏ธ Cross-post type detection – finds duplicates in any content type
โœ”๏ธ Visual status indicators with clear warnings
โœ”๏ธ Post list column showing slug availability
โœ”๏ธ Multilingual ready with translation support

๐Ÿ”ง New in 1.3.0
– Fix: Prevent duplicate notices on repeated checks
– Enhancement: Better detection for dynamic fields (e.g., modals)
– Improvement: Rank Math modal compatibility
– Code cleanup and improved performance

Perfect for:
– Large content sites
– Multilingual websites
– Editorial teams
– SEO-conscious publishers

Credits

Developed by Mohsen Mahdavi

License

This plugin is licensed under the GPLv2 or later.

Author

Mohsen Mahdavi โ€“ moma2work@gmail.com

Installation

  1. Upload the plugin files to /wp-content/plugins/unique-slug-checker
    OR install directly via WordPress admin (Plugins > Add New)
  2. Activate the plugin
  3. Start editing posts – duplicate slugs will be detected automatically

FAQ

Does this work with custom post types?

Yes. It checks all post types when detecting duplicate slugs.

Does it work with blocks/Gutenberg?

Yes, fully supports the block editor and shows notices in real time.

Does it support modals and dynamically loaded fields?

Yes. The plugin uses mutation observers and timers to detect and attach logic even inside SEO plugin modals like Rank Math.

Can I suggest a feature?

Of course! Open an issue on GitHub: https://github.com/m2mahdavi/unique-slug-checker

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Unique Slug Checker” is open source software. The following people have contributed to this plugin.

Contributors

“Unique Slug Checker” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Unique Slug Checker” into your language.

Interested in development?

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

Changelog

1.3.0

  • Fix: Prevent duplicate notices and DOM pollution
  • Fix: Avoid re-attaching handlers to already-processed fields
  • Enhancement: Rank Math modal compatibility (dynamic fields)
  • Enhancement: Clean and concise English comments in JS
  • Improved: More stable and accurate field detection

1.2.0

  • Feature: Full support for Gutenberg (Block Editor)
  • Feature: Show slug status icon in post list
  • Fix: Improved nonce handling and data validation
  • Enhancement: Better AJAX response and UI feedback
  • Improved: SEO plugin support (AIOSEO, Yoast, Rank Math)

1.1.0

  • Added: Slug check status in post list view
  • Added: Alternative slug suggestions
  • Improved: SEO plugin support (Yoast, Rank Math)
  • Improved: Full compatibility with Gutenberg editor

1.0.1

  • Added support for WordPress 6.8.
  • Added multilingual support (8 languages).
  • Improved validation and notices.
  • Minor optimizations.

1.0.0

  • Initial release.
  • Real-time slug validation.
  • Integration with Yoast and Rank Math fields.
  • Base translation and localization setup.