Show category name in the post URL only for specific categories

Question

Is there a way to show the category name in the URL of a post which is in a specific category? I.e:

I have a site which have a blog and two categories, blog and resources; right now this blog have the setting of only show the post name in the url (blabla.com/postname) so, all post follow this rule. But now, I have to enable a way for the resources posts show the category name (resources) in the URL, something like this: blabla.com/resources/postname, and having this two settings living side by side.

Blog must remain blog.com/postname,
Resources should be blog.com/resources/postname

Thanks!

0
, , Erick Acevedo 4 years 2019-11-06T14:15:39-05:00 0 Answers 64 views 0

Leave an answer

Browse
Browse