Reputation: 1
How can I personalize a custom post URL in Wordpress? I've been using Custom Post Type Plugins but I want to change this URL:
website.com/slug/%models_cat%-%models_tag%/%postname%
To:
website.com/slug/%models_cat%-%models_tag%-%postname%
The second link gives me a 404 error if I change /
to -
on %postname%
.
I tried to search, but couldn't find anything relevant.
Upvotes: 0
Views: 1666
Reputation: 56
Have you tried changing it in Settings-Permalinks?
You should be able to select Custom Structure and add any of these variables.
https://codex.wordpress.org/Using_Permalinks
EDIT:
This issue has been addressed in Wordpress Stack Exchange.
You have to edit the function.php file.
Upvotes: 1