Under "Settings > Permalinks", we can set up the default category base name to use for our category landing pages. For example, site.com/categories/my-first-category/.
Is there a setting I can add to my functions.php to allow the option to remove the category base and direct link to the category? For example, the above link becomes: site.com/my-first-category/
I realize that this opens up the possibility of having conflicting post names and category names (assuming I have a post slug that's the same as a category slug for example), but in this case, my post permalinks end in .html and my category permalinks will not, so there should never be a conflict (I expect).