need help to use add_rewrite_rule with polylang
-
i have this rewrite rule :
add_action( 'init', function() {add_rewrite_rule( '^property/(.*)/units/([^/]+)/?$','index.php?property_units=$matches[2]','top' );});
It works well and its task is to add pages to units within a real estate project
But with polylang, it works for the default language only and does not work for other languages
- The topic ‘need help to use add_rewrite_rule with polylang’ is closed to new replies.