Hey Newspaper community!
For SEO purposes, I’m looking to remove the category page by an other “normal” page or post.
For example, if I have the following posts :
test.com/fruits/apple
test.com/fruits/banana
test.com/fruits/orange
I don’t want to have an automatic archive category page fruits. Instead, I want to have test.com/fruits as a post itself and not a category template page.
Any idea how to do this easily ?
Thanks for your help,
Hi,
When creating a category automatically a category page/archive will be created. The category base could be removed from the URL
– https://jonnyjordan.com/blog/how-to-remove-category-from-your-urls-in-wordpress/
That would cause the URL to be test.com/apple You could also search some more online for solutions.
Hi Simion,
Thanks for your answer. I know it was possible to do so but does it also work with the breadcrumb ?
I want the breadcrumb to redirect to my page and not to archive page.
Your solution works for this case too ?
Thanks a lot for taking the time to answer,
Regards,
Marc
Breadcrumbs will display a path to the article, usually this is Home->Category->Article. Other paths may not display in the theme breadcrumbs so you might have to use a different breadcrumb implementation, like Yoast breadcrumbs
– https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/
Posts will always have to be assigned to a category, or they will be assigned to the default category set in WordPress. Pages can have parents but a path to a child page will not show in the breadcrumbs I believe.