Switch Page and Category Priority (2 posts)

  1. Andrew Tegenkamp
    Posted 3 years ago #

    I have a site and am trying to remove /category/ from the category listings. I tried both typing ./ in the category base and a plugin (FV Top Level Categories) and got the same result.

    It works fine to create links in my menu and so on, but the page rewrite rules are finding similar but not exact pages and redirecting to that, so I'd like to move categories as a higher priority in the rewrite rules than pages. Can someone point me to this hook or filter if this is possible?

    Permalink Structure: /%postname%/

    Example Now:
    Post at http://northstarfamily.org/podcast-going-with-jesus-authority/
    Page at http://northstarfamily.org/podcasts/
    Cat at http://northstarfamily.org/category/podcast/

    Cat at http://northstarfamily.org/podcast/

    Link to http://northstarfamily.org/podcast/ that actually redirects to http://northstarfamily.org/podcast-going-with-jesus-authority/

    This also happens in my "news" category where
    http://northstarfamily.org/category/news/ works but http://northstarfamily.org/news/ redirects back to my homepage.

    Thanks for any ideas everyone!

  2. Andrew Tegenkamp
    Posted 3 years ago #

    Well, props to WP No Category Base as they've got it already figured out, and for our setup it works much better than Top Level Categories or the FV Top Level Categories!

Topic Closed

This topic has been closed to new replies.

About this Topic