You’ll need to define your own rewrite tag, and add the tag into the permalink structure. add_rewrite_tag() to register the new structure tag available_permalink_structure_tags filter to add to Permalinks interface post_link filter to change the URL of posts Below is untested and incomplete code, but should get you pretty far. add_action( ‘init’, static function () … Read more
Changing the “OT Process” Plugin’s Default Slug of /process/
How to remove the category from the url only for a specific category of articles on wordpress
Update any custom post types so they use ‘with_front’ => FALSE in the slug parameters and update your permalink setting to /blog/%category%/%postname%/. Create your categories with sub categories.
Multiple permalinks for a single post from custom field
Based on your example there are 4 fundamental steps to take. I’ve tried to use examples below, and they may not work as is, but they demonstrate the fundamental principles needed: 1. Add a query var shorty This whitelists shorty and gives the 2c from /shorty/2c somewhere to be stored function shorty_query_vars( array $qvars ) … Read more
have you tried hitting the “Save” button on your permalink settings page to refresh it and apply the new rules?
Getting 400 Error in wordpress website
Automatically added -2 in permalink after set number as permalink
claim a permalink and all sublinks in plugin