{"id":77144,"date":"2017-12-07T20:28:15","date_gmt":"2017-12-07T20:28:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/allowed-routes\/"},"modified":"2019-09-26T12:35:08","modified_gmt":"2019-09-26T12:35:08","slug":"allowed-routes","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/allowed-routes\/","author":15605742,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"5.2.24","requires":"4.0","requires_php":"5.3","requires_plugins":"","header_name":"Allowed Routes","header_author":"nerdismFTW","header_description":"Define only allowed routes for your website. Permalinks will be overruled. Wildcard Support.","assets_banners_color":"6a7069","last_updated":"2019-09-26 12:35:08","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/nerdismftw","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1542,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"1792005","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1792005","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1791999","resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Example"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2662,10346,12528,14083,6147],"plugin_category":[],"plugin_contributors":[150356],"plugin_business_model":[],"class_list":["post-77144","plugin","type-plugin","status-publish","hentry","plugin_tags-permalink","plugin_tags-route","plugin_tags-routes","plugin_tags-routing","plugin_tags-whitelist","plugin_contributors-nerdismftw","plugin_committers-nerdismftw"],"banners":{"banner":"https:\/\/ps.w.org\/allowed-routes\/assets\/banner-772x250.jpg?rev=1792005","banner_2x":"https:\/\/ps.w.org\/allowed-routes\/assets\/banner-1544x500.jpg?rev=1792005","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/allowed-routes_6a7069.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/allowed-routes\/assets\/screenshot-1.jpg?rev=1791999","caption":"Example"}],"raw_content":"<!--section=description-->\n<p>Define allowed routes for your website, all other routes will return a 404 error. Permalinks will be overruled.<\/p>\n\n<p>Login, Backend routes and local files (like wp-login.php) are always available to prevent a lockout.<\/p>\n\n<p>Also delete all your page caches after enabling to prevent unwanted routing behavior.<\/p>\n\n<p>Use cases:<\/p>\n\n<ul>\n<li>Absolute control over all permalinks<\/li>\n<li>Prevent unwanted search engine indexing<\/li>\n<li>Be sure no custom post type adds unwanted permalinks<\/li>\n<li>No frontend needed<\/li>\n<\/ul>\n\n<p>Important:<\/p>\n\n<ul>\n<li>The routing overrules permalinks and works like a whitelist. Only correct entered routes will go through. You should test the routing before using on production environments<\/li>\n<li>Be careful using several routing- or redirect plugins at the same time<\/li>\n<li>Do not forget to delete all your page caches after enabling\/disabling the routing to prevent unwanting routing behavior<\/li>\n<\/ul>\n\n<p>Behaviour:<\/p>\n\n<ul>\n<li>The used protocol (HTTP or HTTPS) will be ignored<\/li>\n<li>GET params will be ignored<\/li>\n<li>Routes are case sensitive<\/li>\n<\/ul>\n\n<p>Syntax \/ Wildcards:<\/p>\n\n<ul>\n<li>The route \/ allows the index page (Check the checkbox \\\"Allow index page\\\")<\/li>\n<li>Wildcard * allows a single term with an arbitrary value (e.g. category\/<em>\/page\/<\/em>)<\/li>\n<li>Wildcard ** permits all possible combinations of terms (e.g. category\/**) This wildcard is only allowed at the end of a route<\/li>\n<li>Wildcards are only allowed as complete terms. Correct: \/foo\/<em>\/bar\/** Wrong: \/foo\/ba<\/em>\/test**<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Unzip and upload the plugin package into the plugins directory<\/li>\n<li>Login to the dashboard and activate the plugin<\/li>\n<li>Click Settings to configure the plugin<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<ul>\n<li><p>Compatibility check to WP 5; minor wording changes<\/p><\/li>\n<li><p>Initial release<\/p><\/li>\n<\/ul>","raw_excerpt":"Define only allowed routes for your website. Permalinks will be overruled. Wildcard Support.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/77144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=77144"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nerdismftw"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=77144"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=77144"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=77144"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=77144"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=77144"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=77144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}