• I’ve created a ‘documentos’ CPT, on ‘/documentos/’ url, and add to it a ‘documentos_cat’ taxonomy, on ‘/documentos/tipo/{slug}/’ url, but it dont work because CPT rewrite rules are above TAX rewrite rules, and then WP redirect to the first item from the specific TAX.

    There’s something that can be made to TAX rewrite rules be higher on rules sequence??? if ‘documentos/tipo/([^/]+)/?$’ be on top, WP will use it before ‘documentos/([^/]+)(?:/[0-9]+))?/?$

    Thanks for the help

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    The ACFE Post Types & Taxonomies modules are just UI that use the native register_post_type() & register_taxonomy() behind the scene (See documentation).

    For example, you could simply use these functions in your theme’s functions.php file instead of using ACFE to register them. And the result would be identical, including for the generated rewrite rules.

    For further Rewrite Rules customization, I would recommend to check the add_rewrite_rule() documentation. You can also try to post a ticket on the WordPress Advanced Development support forum. It’s a nice place for advanced WP customization questions such as this one.

    Hope it helps!

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Taxonomy url rewrite rule not working’ is closed to new replies.