Add forward slash on categories url (serve one version of a url)
How can I a add forward slash on categories URLs and serve only that version of a category (meaning URLs not ending in forward-slash will redirect to URLs ending in forward slash).
I manage to remove the category base using the "WP No Category Base" plugin but I need to add a forward slash on the category URL.
Examples:
www.example.com/es - this is a category (needs a forward-slash '/')
www.example.com/es/hola.html - this is a post so, it's ok, no changes needed.
The plugin Permalink Trailing Slash Fixer doesn't solve the problem here.
Topic plugins-url url-rewriting urls categories redirect Wordpress
Category Web