Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Are you saying “https://localhost/port-cate/category-slug/” returns the correct results, you just prefer having the “/portfolio” addition to still return the same results? If so, add .htaccess rewrite code to strip out the “/portfolio” portion of any URLs that have “/portfolio/port-cate” in them.

    OTOH, if the “/portfolio” addition is to further restrict the results to only that post type, use the Rewrite API to get the proper query constructed.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post type categories permalinks’ is closed to new replies.