Remove Category Page (Archive Page) > replace by a Post/Page

Posted in: Newspaper
Post count: 77

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,

Post count: 20688

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.

Post count: 77

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

Post count: 20688

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.

Post count: 77

Hi Simion,

Thanks. I implemented it but I confirm this solution does not work with the breadcrumb. Breadcrumb still redirects the Category (ie test.com/fruit) to the category page and not to a specific page.

Post count: 20688

You could search more online in the matter, there might be solutions or pointers for what you are trying to do.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.