Using WP Rewrite to Change the Page Slug for Archive Pagination

This code should be placed in your child themes functions file and will change the default pagination slug from page to article.

You will also need to re-save your Permalinks to flush the default rewrite rules.


Simply change article in the above code to whatever you want to replace page with.

This solution answers this question from a member of WP Sites:

One thing I noticed with the site I am modifying compared to the new Genesis site is that when you use pagination on the main site you go from www.example.com to www.example.com/latest/1

Using Genesis you go from www.example.com to www.example.com/page/1

Is it possible to modify page to latest?

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.