I have many permalinks across my site that looks like this:
and would like to hide
/category/ for all permalinks that contain it, like so:
I tried to use the following rule but did not find success. Anyone know why?
add_rewrite_rule('market/(.*)', 'market/$matches', 'top');
I've verified that the htaccess is being added. No redirects occur though.
I've moved on from this project. As others confirm answers work I'll look into selecting the best answer.