Show category name in the post URL only for specific categories
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