How do I automate a true /?tegory%/%postname%/ permalink structure?
-
I’d like to have a permalink structure which is a true /%category%/%postname%/ structure, but this code actually gives a nested structure of
/%parentcategory%/%childcategory%/%grandchildcategory%/%postname%/I am able to get the permalink structure I want with the “Custom Permalinks” plugin by Michael Tyson, but at present I have to manually define the permalink with each new category and each new post. Is there a way to automate the process?
When I create a new category, I want my permalink structure to be automatically generated as root/category-slug/. And then I want all posts to automatically have the permalink set to root/category-slug/postname/
- The topic ‘How do I automate a true /?tegory%/%postname%/ permalink structure?’ is closed to new replies.