This seem to be a thread close enough to my problem. Would prefer not to start a new one. Better if we add it up so Yoast sees it ??
Before using Yoast WordPress SEO I used another SEO-plugin together with a dedicated sitemap plugin. Since Yoast has both SEO and Sitemap I deinstalled the other one.
I was very happy to see the “Strip category base” setting. I don’t see the reason to have “category”, especially since my site is in swedish. Anyway, I activated XML-sitemap and went to bed. The next day I was randomly browsing my site and realised all my categories had a 404. Panic! But saving the settings again solved it.
It’s not until just now I figured out how it works. Whenever I press “Save Settings” in XML-sitemap the category base comes back. I have no idea what relation they have but at least I figured out what caused it. Hopefully there’s a fix to this soon as I’m getting a bit paranoid when I’m using the plugin now. Everytime I save I have to check the site to see if it’s broken.
The site is here – https://rabattkodish.se/
If you see a broken category, please tell me ??
All the best!
//Reach