{"id":3432,"date":"2008-07-26T05:30:27","date_gmt":"2008-07-26T05:30:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/allow-numeric-stubs\/"},"modified":"2015-12-19T11:18:47","modified_gmt":"2015-12-19T11:18:47","slug":"allow-numeric-stubs","status":"publish","type":"plugin","link":"https:\/\/ceb.wordpress.org\/plugins\/allow-numeric-stubs\/","author":5279457,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.0.0","stable_tag":"trunk","tested":"4.4.34","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Allow Numeric Slugs","header_author":"Viper007Bond","header_description":"","assets_banners_color":"","last_updated":"2015-12-19 11:18:47","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.viper007bond.com\/donate\/","header_plugin_uri":"http:\/\/www.viper007bond.com\/wordpress-plugins\/allow-numeric-slugs\/","header_author_uri":"http:\/\/www.viper007bond.com\/","rating":5,"author_block_rating":4.8666666666667,"active_installs":900,"downloads":11718,"num_ratings":8,"support_threads":0,"support_threads_resolved":0,"author_block_count":6,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":8},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","2.2.0","3.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[534,6579,170,243],"plugin_category":[],"plugin_contributors":[77580],"plugin_business_model":[],"class_list":["post-3432","plugin","type-plugin","status-publish","hentry","plugin_tags-number","plugin_tags-numeric","plugin_tags-page","plugin_tags-pages","plugin_contributors-viper007bond","plugin_committers-automattic","plugin_committers-azaozz","plugin_committers-donncha","plugin_support_reps-aicee11","plugin_support_reps-bindlegirl","plugin_support_reps-bluejay77","plugin_support_reps-crmilli","plugin_support_reps-ctdealba","plugin_support_reps-dcka","plugin_support_reps-dericleeyy","plugin_support_reps-erania-pinnera","plugin_support_reps-erricgunawan","plugin_support_reps-gaurav984","plugin_support_reps-gma992","plugin_support_reps-helizabethan","plugin_support_reps-jamescadams","plugin_support_reps-joashrajin","plugin_support_reps-lizswafford5","plugin_support_reps-lromero16","plugin_support_reps-thabotswana"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/allow-numeric-stubs.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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: <code>yoursite.com\/about\/2\/<\/code>. That URL conflicts with paged content feature where you can posts and pages with multiple pages of content by adding <code>&lt;!--nextpage--&gt;<\/code> within your content.<\/p>\n\n<p>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.<\/p>\n\n<p>Code contributions and bug reports are welcome via <a href=\"https:\/\/github.com\/Viper007Bond\/allow-numeric-stubs\">this plugin's GitHub repository<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to your admin area and select Plugins \u2192 Add New from the menu.<\/li>\n<li>Search for \"Allow Numeric Slugs\".<\/li>\n<li>Click install.<\/li>\n<li>Click activate.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>Version 3.0.0<\/h4>\n\n<ul>\n<li>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 <code>-2<\/code> suffix in the first place.<\/li>\n<\/ul>\n\n<h4>Version 2.2.0<\/h4>\n\n<ul>\n<li>Update for WordPress 4.4's rewrite rules.<\/li>\n<li>PHP 7 compatibility by renaming class constructor. Also drops unneeded references.<\/li>\n<\/ul>\n\n<h4>Version 2.1.0<\/h4>\n\n<ul>\n<li>Update for WordPress 3.3's rewrite rules.<\/li>\n<\/ul>\n\n<h4>Version 2.0.1<\/h4>\n\n<ul>\n<li>Re-add the <code>save_post<\/code> filter after fixing the slug incase multiple posts are updated in one pageload.<\/li>\n<\/ul>\n\n<h4>Version 2.0.0<\/h4>\n\n<ul>\n<li>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.<\/li>\n<\/ul>\n\n<h4>Version 1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Allows Pages to have a slug (URL) that is only a number. Sacrifices the paged content ability in Pages to accomplish it.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3432"}],"author":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/automattic"}],"wp:attachment":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3432"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3432"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3432"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3432"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3432"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}