Allows Pages to have a slug (URL) that is only a number. Sacrifices the paged content ability in Pages to accomplish it.
As of April 2026, Allow Numeric Slugs is a WordPress page plugin with 900 active installations and a 5/5 rating from 8 reviews. It has been downloaded 11K+ times in total. Requires WordPress 3.3+ and PHP false+. Available on WordPress.org since 2008. Last updated 10 years ago — may have compatibility concerns. Download volume is stable this week. Top alternative: Post Type Switcher.
Normally it is not possible to have a page slug (the page’s name in the URL) that is a number. For example this will not work: yoursite.com/about/2/. That URL conflicts with paged content feature where you can posts and pages with multiple pages of content by adding <!--nextpage--> within your content.
This plugin allows you to have pages with numbers as slugs by giving up the ability to have paged content pages which isn’t a big deal as most people don’t use paged content pages anyway.
Code contributions and bug reports are welcome via this plugin’s GitHub repository.
You can’t have a post with a numeric slug like “2020.” WordPress will automatically add a “-2” to the end of it. This plugin solves the problem instantly.
This developer passed on in 2019. I’m praying for his soul and the comfort of his family.
Works perfect, THX a lot for this.
SSIA
FYI: Works with WordPress 4.9.6
Works just as advertised. Love it! Thanks a lot.
| WordPress | 3.3+ requiredTested up to 4.4.34 |
| PHP | false+ required |
-2 suffix in the first place.Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.