Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @filoveg,

    We see that you’re using the URL to query and display posts from multiple categories on a category archive page using “category1,category2”.

    Just to explain a bit about what Yoast SEO is doing when you remove the category prefix, it adds rewrite rules for the individual category terms like “/category1/” or “/category2/” to make sure that WordPress will display category archives and not posts or pages.

    Adding rewrites to match against any combination of URLs with multiple categories isn’t a feature that is supported in Yoast SEO without the category prefix. However, we thank you for suggesting a new feature for one of our plugins. You can create a new feature request for us to consider on GitHub.

    We’re not familiar with how you’re using this on your site, but there may be several ways to workaround this problem and display posts from multiple categories.

    • Keep the category prefix.
    • Use the URL with the prefix since that will always work despite the setting.
    • Use custom queries on pages or templates.
    • Add custom rewrite rules.
    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple category archive doesn’t work’ is closed to new replies.