/
/
Permalink Router
Pro
Customization
Utility

Permalink Router

Version 1.5.2 · Updated 26 Nov 2026

WordPress gives a custom post type one URL shape and then stops taking questions. This one builds the URL you actually wanted, taxonomy folders and all.

In every Pro plan. One switch on the Hub’s Add-ons screen.

codicts-permalink-router cover image

Overview

What it does

A custom post type can be given a base slug and that is where the flexibility ends. You cannot fold a taxonomy into the path, you cannot give one group of posts a different structure from another, and you certainly cannot hand a single page its own hand written URL. This add-on does all three.

Point it at a post type, write the URL structure you want as a small template, and every post answers on that address. Structures are built from tokens: the post slug, the post type’s own base, any taxonomy term, any custom field. Make a token optional and one rule serves posts with two taxonomies and posts with four. Where a rule is not the answer, type the URL on the post itself, or import a whole planning spreadsheet in one go.

Old addresses are not left behind. The post type’s original permalink 301s to the new one, and when a URL changes the previous one follows it, so nothing you already published goes dark.

What you get

  • URL structures per post type, built from tokens: {slug}, {title}, {base}, {term:taxonomy}, {term_path:taxonomy}, {field:meta_key}, {author}, {year}, {month}.
  • Nest as many taxonomies as you like: {term:category}/{term:city}/{slug} gives you /restaurants/london/joes-diner/.
  • Optional tokens ({term:city?}) so one rule covers posts that carry the term and posts that do not.
  • Keep the post type base with {base}, or leave it out and take the URL over completely.
  • Several rules per post type, matched in order on field values and taxonomy terms, so category pages and landing pages can live at different depths.
  • A term map per rule decides which term wins when a post carries more than one, and what that term is called in the URL (restaurant can be written places-to-eat).
  • A manual URL box on every post, which always beats the rules.
  • CSV import with a dry run: paste the planning sheet, see exactly what would change, then apply it. Full URLs, bare domains and plain paths are all understood.
  • A Paths screen listing every routed post, what set its URL, and any post whose URL was already taken.
  • 301s from the old permalink and from any URL a post used to answer on.
  • Reads a manual URL from your own custom field keys too, so editors can set it in a front-end form rather than in wp-admin.
  • Breadcrumbs that match the URL. Rank Math and Yoast build the trail from the post type, so a routed post reads Home / Landing pages / Sell My Apple iPhone while its address says /sell-my-phone/. Each folder in the routed URL becomes a crumb instead, named after whatever answers there, and the breadcrumb schema is corrected with it.

Changelog

What’s new

Version 1.5.2 · 26 Nov 2026
  • Changed: the Lab always asks before it changes the order of your rules.
  • Changed: needs Codicts Hub 2.9.1.
  • Fixed: a post handed over by another plugin as a plain database row (a sitemap, for one) keeps its routed URL, with no PHP warning.
  • Changed: needs Codicts Hub 2.8.7.
  • New: the Paths list changes in place. Clear manual URL asks first, then clears it and draws just that row again with its URL from the rules, with no reload: your place, search, filters and scroll stay put. Needs Codicts Hub 2.8.0.
  • Fixed: Screen Options shows “Paths per page” only on the Paths list, not on Rules, Settings or the CSV import, and columns hidden there stay hidden.
  • Fixed: Clear manual URL asks in the Hub’s own dialog, not the browser’s.
  • New: the Lab can set up {C} Permalink Router for you: rules, settings, manual URLs, CSV imports and rebuilding URLs, from a chat.
  • Fixed: conditions set to Not equals, Greater than, Less than and the like were saved as Equals. Rules saved before keep Equals until you pick the test again.
  • Each rule’s header now says whether it replaces the post type’s URL or extends it, and shows its post type, conditions and term paths.
codicts-permalink-router featured image

Permalink Router

Version
1.5.2
Last updated
26 Nov 2026
Works with
Any WordPress site
Needs
Codicts Hub 2.9.1 · PHP 8.0
Category
Customization

Published by

Codicts

Made by Codicts

In every Pro plan. One switch on the Hub’s Add-ons screen.

Reviews

What people say

Reviews are written by customers with an active license. Sign in

Explore

More in Customization

codicts-snippets featured image
v2.26.2

By Codicts

Write PHP, JS, CSS and raw HTML from wp-admin, sandboxed so a bad snippet can’t take the site down, and drivable by AI over MCP.

Admin Tools
Customization
codicts-mylisting-menu-pro featured image
Pro

By Codicts

Give your MyListing listings a real menu (food, services, products) that owners can build and edit themselves, and drop it anywhere with one shortcode.

Customization
Listings
Requires MyListing
codicts-mylisting-preview-cards-addon featured image
Pro

By Codicts

New preview card templates for MyListing, video that actually plays on the card, and like, comment, share and reviews buttons right where people are looking.

Customization
Listings
Requires MyListing
codicts-mylisting-work-hours-pro featured image
Pro

By Codicts

Makes the MyListing Work Hours field far less tedious: a “Copy to All” button, a clean list view, and a Google Maps picker that pulls a place’s opening hours straight in.

Customization
Listings
Requires MyListing

Got a feature in mind? Just ask.

Download the Hub, open the Lab, start typing.