There are "your last posts" on the homepage.

Under normal circumstances, the page proceeds as follows: http://example.com/page/1 http://example.com/page/2 e.t.c

I want to change this link structure. For example, like http://example.com/image/1. So I want to replace the term "Page" with something else or delete it completely. How do we edit a Wordpress blog perma link?

1 Answer 1


No need to change core files:

add_action( 'init', 'wpse316713_pagination_base_rewrite_rule' );
function wpse316713_pagination_base_rewrite_rule() {
    global $wp_rewrite;
    $wp_rewrite->pagination_base = 'image';

Go to permalink options page, and press save to flush the rewrite rules, changes should apply afterwards.

  • It definitely works! (cache cleared for changes to work) Thank you. You are great!
    – A. Muller
    Commented Oct 15, 2018 at 20:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.