New answers tagged

0 votes

Wordpress rewrite rule for specific page and second parametr doesnt work

OK I solved this problem: New code: add_action('init', 'add_test_url'); function add_test_url() { global $wp_rewrite; add_rewrite_tag('%v%', '(.+)'); add_rewrite_rule('^page-test/([^/]+)/?$...
user avatar
0 votes

Is it possible to add a site-wide add_rewrite_rule for a multilingual site?

I don't know if this can be done at once --using maybe an htaccess rule--. But, I think rebuilding the existing rewrite rules instead of adding new ones can do the trick. There are filters available ...
user avatar

Top 50 recent answers are included