Filtering not working with translated pagination url
-
Hi!
I’m trying to use below code to translate the /page/ part of my url on paginated archive pages. The problem is when using the “Refresh URL when filtering” option in your plugin with this method it breaks the filtering.
Instead of removing the pagination when filtering it keeps the /page/number/ and then adds the filter urls next to it resulting in a 404 error.Would it be possible to use this function and still keep the “Refresh URL when filtering” option enabled?
function re_rewrite_rules() { global $wp_rewrite; $wp_rewrite->pagination_base = 'sida'; } add_action('init', 're_rewrite_rules');
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Filtering not working with translated pagination url’ is closed to new replies.