force category base - archive pages work WITH & WITHOUT category base slug in url?
I need any posts of any category (and archive pages) to route through /blog/. I added "blog" to my category base, but now both website.com/blog/my-category/ AND website.com/my-category/ both display the same content. Single posts redirect to website.com/my-category/my-post-name
I have Yoast installed, have gone back and forth trying their "remove category base" option, and nothing is working. It's deactivated now while I figure this out.
Any idea how to force category, archive, and single post pages to use the category base?
Topic plugin-wp-seo-yoast link-category url-rewriting permalinks categories Wordpress
Category Web