Support » Plugin: WooCommerce » Translate permalinks pagination

  • tyller



    I changed wordpress permalink for pagination from default “page” to “side” (Danish word for page) with below rewrite rule in functions.php. It works for all wordpress pages, but for woocommerce the shop paged pages are empty (e.g. Does anyone know a solution for this?
    Thank you in advance.

    function re_rewrite_rules() {
    global $wp_rewrite;
    $wp_rewrite->pagination_base = ‘side’; //what you want instead of “page”
    add_action(‘wp_loaded’, ‘re_rewrite_rules’);

  • The topic ‘Translate permalinks pagination’ is closed to new replies.