• Resolved lamedo

    (@lamedo)


    Okey so i have the custom taxonomies (console, esrb, company) and CPT (games)

    so i use this plugin for the ‘games’ archive page and plugin works only for the console taxonomy.

    But if u try to use it for esrb it does something strange. for example if i choose esrb rating ‘mature’, after applying it takes me to “https://mywebsite.com/mature/”.

    And when i tru to apply on of the companies, it just takes me to a random post.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi Lamedo,

    So a few things to check:

    1. Do you have any pages that might clash with the taxonomies or the post type? Like if you name a page the same as one of your taxonomies WordPress rewrite rules might get confused. Make sure that’s not the case!

    2. Do you have a specific different rewrite rule set for those taxonomies that differs from the registered taxonomy name (slug)? For example: if your taxonomy is registered as console_tax but you set the rewrite slug to console you also need to set the query_var to console. Otherwise the urls wont work ??

    3. What is your permalink setting?

    Thread Starter lamedo

    (@lamedo)

    Hey Jonathan, Thank you for your answer.

    I just set the rewrite slug to how the taxonomies are registered, saved the permalink setting and it seems to be working fine now ?? thank you so much.

    Plugin Author Jonathandejong

    (@jonathandejong)

    No Problem!
    You can have a different slug if you really want to as long as you set the same for query_var ??

    Best of luck in your project!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘only works with one taxonomy’ is closed to new replies.