• Hi,

    Does anybody know how to redirect the category base only, leaving the category structure intact?

    Example (maybe clearer)
    Here are urls to two categories

    https://www.example.net/category/this-is-my-cat-1/
    https://www.example.net/category/this-also-is-my-cat-2/

    However if somebody removes the category from the url and just tries to go to https://www.example.net/category/ they get a 404.

    How do I redirect https://www.example.net/category/ to https://www.example.net/a-static-page/ while keeping original links intact. The redirects I have tried redirect /category/ as well as anything after, breaking the site.

    Thanks in advance

    Regards
    Tim

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is exactly what I’m looking into right now. I will post a solution if I find one.

    I ended up doing away with the mandatory Category Base structure by using this plugin:

    Category Base Removal Plugin
    https://benpartch.com/personal/remove-the-category-base/

    It doesn’t seem to be working for everyone, but it’s working perfectly on my server. Might be worth a shot if you can’t get this resolved.

    But in all honesty, I was thinking about that issue and it probably isn’t that big of a deal, as far as SEO is concerned, as long as you don’t explicitly link to yoursite.com/category_base/.

    And if you’re into PageRank sculpting & siloing with nofollow and noindex, etc then it’s probably even less of an issue, really.

    I reserve the right to be wrong on this, though. Do your due diligence.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirecting category base only’ is closed to new replies.