• Hi

    I used your plugin, and I use this plugin to : http://ww.wp.xz.cn/extend/plugins/countries/

    I created a custom post-type “application”
    I configured “countries” post type as taxonomy, and linked it to “application” post type

    Everything works fine, I can create new “application” and link it with countries
    I can show countries in application list, and order my application by countries in admin page

    I created a custom archive page to display all applications (http://mywordpress/?post_type=applications)
    I created a widget to display “countries” tag in this page
    One more time, everything works fine 😉 I can see all countries tags used in my applications

    BUT 🙁 , when I click to one of these tags, it’s impossible to display all applications filtered by countries …
    I created an Archive Page Slug like this : applications/$term_id
    And a rewrite rule (in functions.php) like this : add_rewrite_rule( ‘^applications/([^/]*)/’, ‘index.php?post_type=applications&countries=$matches[1]&cpt_onomy_archive=1’, ‘top’ );

    It doesn’t work
    I don’t understand my mistake

    Can you help me please

    BRs

    http://ww.wp.xz.cn/extend/plugins/cpt-onomies/

The topic ‘Rewrite problems’ is closed to new replies.