Removing category base causing problems
-
Hi,
I’m attempting to remove the category base using the old trick of going to permalinks, pasting /%category%/%postname%/ in my custom structure and placing a ‘.’ in category base.
This removes the category base from a couple of my categories but it introduces more issues.
My blog page, which is my home page, now has the category ‘log’ ADDED to my URL, so my latest post which should be
https://followtheboat.com/the-most-challenging-sailboat-repair-of-all-time-part-2/
Is now https://followtheboat.com/log/the-most-challenging-sailboat-repair-of-all-time-part-2/
Why, if I have removed the category case, is it adding it to a blog posts?
Furthermore, I would have expected wordpress to associate this new address with the old one, but if I try and hit my old address, it says the page doesn’t exist.
Moreoever, it removes the category base from my podcast category, but when I hit the archive page with the /category/ part removed, instead of opening the archive page, it downloads a file called 3evaU-zB. If I open this in Notepad, it’s the XML file for my podcast feed.
I think my best workaround is to leave the category base in, but just remove it from my podcast category since this is the one causing the biggest problems. My old podcast feed was based on the old category structure (ie without /category/ in the name), but with my website revamp my feed now has to include /category/. How can I remove /category/ from the feed address while maintaining an archive page that doesn’t default to the XML file?
- The topic ‘Removing category base causing problems’ is closed to new replies.