Title: Allowed Routes
Author: nerdismftw.com
Published: <strong>December 7, 2017</strong>
Last modified: September 26, 2019

---

Search plugins

![](https://ps.w.org/allowed-routes/assets/banner-772x250.jpg?rev=1792005)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/allowed-routes_6a7069.svg)

# Allowed Routes

 By [nerdismftw.com](https://profiles.wordpress.org/nerdismftw/)

[Download](https://downloads.wordpress.org/plugin/allowed-routes.1.1.zip)

 * [Details](https://co.wordpress.org/plugins/allowed-routes/#description)
 * [Reviews](https://co.wordpress.org/plugins/allowed-routes/#reviews)
 *  [Installation](https://co.wordpress.org/plugins/allowed-routes/#installation)
 * [Development](https://co.wordpress.org/plugins/allowed-routes/#developers)

 [Support](https://wordpress.org/support/plugin/allowed-routes/)

## Description

Define allowed routes for your website, all other routes will return a 404 error.
Permalinks will be overruled.

Login, Backend routes and local files (like wp-login.php) are always available to
prevent a lockout.

Also delete all your page caches after enabling to prevent unwanted routing behavior.

Use cases:

 * Absolute control over all permalinks
 * Prevent unwanted search engine indexing
 * Be sure no custom post type adds unwanted permalinks
 * No frontend needed

Important:

 * 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
 * Be careful using several routing- or redirect plugins at the same time
 * Do not forget to delete all your page caches after enabling/disabling the routing
   to prevent unwanting routing behavior

Behaviour:

 * The used protocol (HTTP or HTTPS) will be ignored
 * GET params will be ignored
 * Routes are case sensitive

Syntax / Wildcards:

 * The route / allows the index page (Check the checkbox \”Allow index page\”)
 * Wildcard * allows a single term with an arbitrary value (e.g. category/_/page/_)
 * Wildcard ** permits all possible combinations of terms (e.g. category/**) This
   wildcard is only allowed at the end of a route
 * Wildcards are only allowed as complete terms. Correct: /foo/_/bar/** Wrong: /
   foo/ba_/test**

## Screenshots

 * [[
 * Example

## Installation

 1. Unzip and upload the plugin package into the plugins directory
 2. Login to the dashboard and activate the plugin
 3. Click Settings to configure the plugin

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Allowed Routes” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ nerdismftw.com ](https://profiles.wordpress.org/nerdismftw/)

[Translate “Allowed Routes” into your language.](https://translate.wordpress.org/projects/wp-plugins/allowed-routes)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/allowed-routes/), check
out the [SVN repository](https://plugins.svn.wordpress.org/allowed-routes/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/allowed-routes/)
by [RSS](https://plugins.trac.wordpress.org/log/allowed-routes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

 * Compatibility check to WP 5; minor wording changes
 * Initial release

## Meta

 *  Version **1.1**
 *  Last updated **7 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.2.24**
 *  PHP version ** 5.3 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/allowed-routes/)
 * Tags
 * [permalink](https://co.wordpress.org/plugins/tags/permalink/)[route](https://co.wordpress.org/plugins/tags/route/)
   [routes](https://co.wordpress.org/plugins/tags/routes/)[routing](https://co.wordpress.org/plugins/tags/routing/)
   [whitelist](https://co.wordpress.org/plugins/tags/whitelist/)
 *  [Advanced View](https://co.wordpress.org/plugins/allowed-routes/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/allowed-routes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/allowed-routes/reviews/)

## Contributors

 *   [ nerdismftw.com ](https://profiles.wordpress.org/nerdismftw/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/allowed-routes/)