Viewing 3 replies - 1 through 3 (of 3 total)
  • Otto said (in Slack):

    add_action( 'init', function() {
        $GLOBALS['wp_rewrite']->pagination_base = 'whatever';
    });

    // after adding this code, flush the rewrite rules by going to settings->permalinks and saving

    put that in a plugin or something and voila, page can be whatever you like

    Thread Starter verhoej

    (@verhoej)

    Ty very much, just 1 question, will this affect google search console. meaning will this be seen as a different url thats needs to be redirect?

    Well, once you use that code, the URLs would be different than before. It’s up to you if you redirect the old paged URLs to the new ones. I think most SEO plugins discourage bots from following paged links? Not sure though.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translate /page/ in url’ is closed to new replies.