Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Permalink Validator

Validates the URL used and if not matching the official permalink then it issues a HTTP 301 or HTTP 404 message.

WordPress 2.3 now includes validation of the permalink URL when using Apache web server, but if using IIS then this plugin is still relevant.

Permalink Validator helps Search Engine Optimization (SEO) as it prevents duplicate contents on your WordPress blog:

  • Adds trailing back-slash if missing (Can also be done with htaccess or isapi_rewrite).
  • Adds or removes www prefix according to your permalink structure (Can also be done with htaccess or isapi_rewrite).
  • Forces a correct 404 page instead of showing an empty search result when using an invalid URL
  • Works only on post, pages and categories. Archives based on date (Daily, Monthly, Yearly) and search-result-pages should use noindex. Feed and trackback pages should be added to the robots.txt.
  • Fixes pagination for WP on IIS.
  • Fixes trailing slash for pages and categories on WP 2.2 when not having trailing slash in post permalink structure.

WordPress it very forgiving when supplying an URL that doesn't match the actual permalink to a post or a page. This is caused by WordPress using some very greedy wp_rewrite_rules, which accepts almost any URL as valid.

This means that multiple URLs could be used to reach the page, which search engines sees a duplicate content and leads to penalty.

For example it will accept the following permalink URL as valid:


Even though the official URL is this:


Permalink Validator makes a hook to template_redirect, and then adds some extra validation of the URL supplied before actually calling the theme-templates.

Requires: 2.0.0 or higher
Compatible up to: 2.6
Last Updated: 8 years ago
Active Installs: 100+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.