WordPress.org

Plugin Directory

Allow Numeric Slugs

Allows Pages to have a slug (URL) that is only a number. Sacrifices the paged content ability in Pages to accomplish it.

Version 3.0.0

  • Ditch all of the old fragile hackery of this plugin in favor of just hooking into the WordPress function that ensures that slugs are unique. It's what was adding the -2 suffix in the first place.

Version 2.2.0

  • Update for WordPress 4.4's rewrite rules.
  • PHP 7 compatibility by renaming class constructor. Also drops unneeded references.

Version 2.1.0

  • Update for WordPress 3.3's rewrite rules.

Version 2.0.1

  • Re-add the save_post filter after fixing the slug incase multiple posts are updated in one pageload.

Version 2.0.0

  • Recoded for WordPress 3.0+. WordPress now won't let you manually enter a numeric slug -- it will prefix "-2" onto the end of it so that the page is viewable. This new plugin version works around it.

Version 1.0.0

  • Initial release.

Requires: 3.3 or higher
Compatible up to: 4.4.4
Last Updated: 7 months ago
Active Installs: 300+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
1 person says it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
0,1,0
100,1,1
100,1,1
0,1,0
100,1,1
100,1,1
100,1,1 100,1,1
0,1,0