Plugin Directory

Permalink Validator

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

Download Version 0.7

Version History

Version 0.8

  • Fixed PHP Warning: strpos() [function.strpos]: Empty delimiter
  • Converted the PHP file from UTF8 to ANSI (Removed special BOM character in file beginning)

Version 0.7

  • Permalink Validator will not perform redirect of POST server request

Version 0.6

  • Fixed a redirection bug introduced in 0.5 when the front page is a page of posts

Version 0.5

  • WordPress 2.3 includes permalink validation (canonical urls) when using Apache, so this plugin should now only be used with IIS
  • Added support for HTTPS urls
  • Added support for special IIS installations where PATH_INFO and SCRIPT_NAME is the same
  • Added small hack to exclude pages from validation (One is required to edit the source to use it)
  • Added detection of the plugin Jerome's Keywords

Version 0.4

  • Better guessing of a proper REQUEST_URI
  • Finds the proper REQUEST_URI when using isapi_rewrite
  • Finds the proper REQUEST_URI when using IIS Mod-Rewrite
  • Improved validation as it nows expects a proper REQUEST_URI (Guess Apache is now supported)

Version 0.3

  • Fixes trailing slash for pages and categories in WP 2.2 when using a post permalink structure without ending slash.

Version 0.2

  • Added support for static front page.
  • Added detection of integrated BBPress.
  • Checks that WordPress has been started before adding hooks

Version 0.1

  • Fixes REQUEST_URI for WP on IIS, which also fixes pagination.
  • Handles permalink structure with or without index.php.
  • Handles default permalink structure using only post-id.

Testing Procedures

For each of the different permalink structures:

  • Default permalink structure (Using query string)
  • Permalink structure with index.php
  • Permalink structure without index.php (Using ISAPI_rewrite)
  • Permalink structure ending with .html
  • All the above in a sub-directory

Tries the following pages:

  • Front page and paged
  • Static page
  • Post page
  • Category page and paged
  • Front page as static page (WP 2.2+)
  • Front page as post page (WP 2.2+)

Contributors

  • Scott Yang for giving me the idea and the example of to how make this plugin.
  • Gabe Anderson for giving me the initiative to release this plugin.

Requires: 2.0.0 or higher
Compatible up to: 2.6
Last Updated: 2008-10-6 Downloads: 8,002

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(7 ratings)

Compatibility

+
=
Not enough data

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

Log in to vote.

0,1,0
0,1,0
0,1,0
0,2,0
0,1,0