There is such an interesting task. Let's say there is a page template that has the url site.ru/products This page displays posts via wp_query The task is to make pagination by pages, BUT so that the page format is not as usual site.ru/products/page site.ru/products/page/2 site.ru/products/page/3 site.ru/products/page/4 and the new structure site.ru/products site.ru/products-2 site.ru/products-3 site.ru/products-4 Is it even possible to do this? thanks for the answer I thought about making a regular expression that would get the page number from the site address, and through the offset parameter would show the necessary records, but in this case, when going to the page site.ru/products-2, i get a 404 error.