{"id":410327,"date":"2026-11-27T08:16:22","date_gmt":"2026-11-27T08:16:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/allow-numeric-slug\/"},"modified":"2026-11-27T08:15:54","modified_gmt":"2026-11-27T08:15:54","slug":"devfixture-numeric-slugs","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/devfixture-numeric-slugs\/","author":23555546,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"DevFixture Numeric Slugs","header_author":"DevFixture","header_description":"Allow numeric slugs for pages, posts and custom post types while keeping real duplicates unique.","last_updated":"2026-11-27 08:15:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/devfixture.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":22,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"devfixture","date":"2026-11-27 08:15:54","revision":3828985}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3828985,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3828985,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3828985,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3828985,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1487,6579,243,2662,561],"plugin_category":[],"plugin_contributors":[285280],"plugin_business_model":[],"class_list":["post-410327","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-post-types","plugin_tags-numeric","plugin_tags-pages","plugin_tags-permalink","plugin_tags-slug","plugin_contributors-devfixture","plugin_committers-devfixture"],"banners":{"banner":"https:\/\/ps.w.org\/devfixture-numeric-slugs\/assets\/banner-772x250.png?rev=3828985","banner_2x":"https:\/\/ps.w.org\/devfixture-numeric-slugs\/assets\/banner-1544x500.png?rev=3828985","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/devfixture-numeric-slugs\/assets\/icon-128x128.png?rev=3828985","icon_2x":"https:\/\/ps.w.org\/devfixture-numeric-slugs\/assets\/icon-256x256.png?rev=3828985","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>DevFixture Numeric Slugs removes WordPress's numeric-only slug restrictions. A page requested as 125 can keep 125 instead of becoming 125-2 just because its name is a number.<\/p>\n\n<p>Built by DevFixture: https:\/\/devfixture.com\/<\/p>\n\n<ul>\n<li>Pages, child pages and deeply nested page trees.<\/li>\n<li>Posts, including numeric names that overlap date archive patterns.<\/li>\n<li>Hierarchical and non-hierarchical custom post types.<\/li>\n<li>Zero and leading zeros are preserved as text.<\/li>\n<li>Numeric attachment names retain WordPress's global uniqueness rules.<\/li>\n<li>Works with the block editor, classic editor, REST API and standard WordPress save functions.<\/li>\n<li>Real duplicates still receive a suffix. Siblings must be unique; separate parent trees can reuse the same slug.<\/li>\n<li>No settings screen, frontend assets, database tables, tracking or external services.<\/li>\n<\/ul>\n\n<p>Activate the plugin and edit a slug normally. There is no need to resave permalink settings.<\/p>\n\n<h4>URL conflicts<\/h4>\n\n<p>For published, publicly viewable content, an exact numeric permalink takes precedence over a date archive or a page number at the same URL. Private content is resolved only for visitors allowed to read it. Drafts are not made public.<\/p>\n\n<p>For example, a child page at \/guide\/2\/ takes precedence over page 2 of \/guide\/. If that child does not exist, WordPress handles pagination normally. A post at \/2025\/ takes precedence over the 2025 archive. Choose distinct URLs when both destinations need to remain accessible.<\/p>\n\n<p>WordPress allows pages and posts to share a slug. If they also share the exact same permalink, the page takes precedence. Custom rewrite plugins and two custom post types sharing an identical URL namespace may need their own routing configuration.<\/p>\n\n<p>The plugin supports standard WordPress pretty permalinks and plain ID-based links. It does not add public URLs to private post types or enable attachment pages disabled by WordPress. Explicit query-string requests retain WordPress's normal behavior.<\/p>\n\n<h4>Existing content<\/h4>\n\n<p>Existing slugs are not renamed automatically. To change 125-2 to 125, edit the permalink after activation. If 125 is already used in that namespace, the suffix remains necessary. Configure redirects separately when changing a URL already in use.<\/p>\n\n<p>Deactivation does not rename content. WordPress's normal numeric restrictions and URL routing apply again, so numeric URLs may require adjustment.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload devfixture-numeric-slugs to \/wp-content\/plugins\/, or install the release ZIP through Plugins &gt; Add Plugin &gt; Upload Plugin.<\/li>\n<li>Activate DevFixture Numeric Slugs.<\/li>\n<li>Enter a numeric slug in a page, post or custom post type and save it.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"why%20does%20wordpress%20sometimes%20still%20append%20-2%3F\"><h3>Why does WordPress sometimes still append -2?<\/h3><\/dt>\n<dd><p>A real duplicate, an attachment in the same namespace, a reserved feed name, or another plugin's reserved-slug rule can require a suffix. DevFixture Numeric Slugs removes the numeric restriction without removing uniqueness checks.<\/p><\/dd>\n<dt id=\"are%200%20and%20001%20supported%3F\"><h3>Are 0 and 001 supported?<\/h3><\/dt>\n<dd><p>Yes. Numeric names are stored as strings, including zero, leading zeros and numbers larger than a PHP integer.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20multisite%3F\"><h3>Does it work with multisite?<\/h3><\/dt>\n<dd><p>The hooks use the current site's WordPress APIs and tables. Activation can be per-site or network-wide; no network migration is needed.<\/p><\/dd>\n<dt id=\"is%20there%20a%20settings%20page%3F\"><h3>Is there a settings page?<\/h3><\/dt>\n<dd><p>No. The plugin works immediately after activation.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release with numeric slug support, exact permalink resolution, zero handling and duplicate protection.<\/li>\n<\/ul>","raw_excerpt":"Use numeric slugs such as 125, 001 or 0 for pages, posts and custom post types, with working permalinks and duplicate protection.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/410327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=410327"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/devfixture"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=410327"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=410327"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=410327"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=410327"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=410327"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=410327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}