Subcategory link giving me a 404 when category base is .

[ad_1]

My category base has the . (period) in it as it don’t want the word ‘category’ to appear in the URL.

This has caused an issue where if I go [example.com/category]) (to see all posts in that category) it works fine

But if i do [example.com/cataegory] (to see all posts in said subcategory) i get shown a 404 page.

But if i remove the . from category base it all works fine but i don’t want the category to appear in the URL.

Can anyone give me some suggestions please ? thanks in advance!

[ad_2]
1 Comment
  1. Use the plugin “No Category Base” (or at least look at how the code works). Using just the period is pretty well know for breaking subcategories. I think Yoast SEO will still do it as well.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer