PLUBO Routes
Create custom WordPress routes and redirects, restrict access by roles and/or capabilities. Routes made simple
by Joan Rodas - Sirvelia · github.com/joanrodas/plubo-routes · website
★ 14stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/joanrodas/plubo-routes/archive/refs/heads/main.zipFrom the readme
WordPress routes made simple.
✔️ No need to write rewrite rules and tags manually\
✔️ Automatically flush rewrite rules when the routes change\
✔️ Custom redirects and action routes\
✔️ Easily extendable with hooks\
✔️ Easy to use with Sage 10
Getting started
composer require joanrodas/plubo-routes
You can also install Plubo Routes as a standalone WordPress plugin, simply downloading the zip and placing it in the plugins folder.
Read the Docs
Adding new routes
There are different types of routes:
- Route (template)
- RedirectRoute
- ActionRoute
- PageRoute
How to add a new route
You can add new routes using the following filter:
Basic routes
Basic routes take 3 parameters:
| Parameter | Type |
| ------------- | ------------- |
| Route Path | String |
| Template file name | String \| Callable |
| Config | Array (optional) |
Examples:
Available syntax
You can use the format {variablename:type} with any of the available types:
number (numbers only)
word (a-Z only)
slug (a valid WordPress slug)
date (yyyy-mm-dd date)
year (4 digits)
month (01-12)
day (01-31)
digit (single digit 0-9)
jwt (JWT token)
ip (IPv4)
You can also use custom regex patter
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v0.8.0 | Mar 12, 2026 |
| v0.7.8 | Sep 4, 2025 |
| v0.7.7 | Sep 3, 2025 |
| v0.7.6 | Sep 1, 2025 |
| v0.7.5 | Mar 10, 2025 |
| v0.7.4 | Mar 7, 2025 |
| v0.7.3 | Oct 11, 2024 |
| v0.7.2 | Oct 8, 2024 |
| v0.7.1 | Oct 6, 2024 |
| v0.7.0 | Oct 5, 2024 |
| v0.6.1 | Dec 28, 2023 |
| v0.6.0 | Nov 29, 2023 |
| v0.5.7 | May 22, 2023 |
| v0.5.6 | Apr 21, 2023 |
| v0.5.5 | Jan 30, 2023 |
| v0.5.4 | Jun 16, 2022 |
| v0.5.3 | Jun 16, 2022 |
| v0.5.2 | May 4, 2022 |
| v0.5.1 | Apr 20, 2022 |
| v0.5.0 | Apr 15, 2022 |
| v0.4.0 | Apr 14, 2022 |
| v0.3.3 | Apr 13, 2022 |
| v0.3.2 | Apr 12, 2022 |
| v0.3.1 | Apr 12, 2022 |
| v0.3.0 | Apr 12, 2022 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.