Title: WordPress rewrites variable “page”
Last modified: August 22, 2016

---

# WordPress rewrites variable “page”

 *  [friendrix](https://wordpress.org/support/users/friendrix/)
 * (@friendrix)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-rewrites-variable-page/)
 * With permalinks turned on, when I use URL like this:
 * [http://test.ru/catalog/?var=value&page=2](http://test.ru/catalog/?var=value&page=2)
 * WordPress automatically change URL to this:
 * [http://test.ru/catalog/2/?var=value](http://test.ru/catalog/2/?var=value)
 * How to prevent this functionality? All I need is use variable “page” and get 
   URL untouched.
 * Thanks for help.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Ryan Sechrest](https://wordpress.org/support/users/sovereign/)
 * (@sovereign)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-rewrites-variable-page/#post-5622524)
 * `page` is a [reserved term in WordPress](http://codex.wordpress.org/Reserved_Terms),
   which means WordPress uses this throughout its system to ensure it can operate
   correctly. Making changes to the behavior of reserved terms should be avoided
   when possible, i.e., it would be easiest and safest to use a different query 
   var.
 * Are you able to use a different query var?
 *  Thread Starter [friendrix](https://wordpress.org/support/users/friendrix/)
 * (@friendrix)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-rewrites-variable-page/#post-5622570)
 * I use `page` in pagination when show product list. Is it wrong? Shouldln’t I 
   use this var at all?
 * Now I use var `page` and all works great. I just want to change url appearance.
 * May be there is a way at least to change this:
    [http://test.ru/catalog/2/?var=value](http://test.ru/catalog/2/?var=value)
   to this: [http://test.ru/catalog/page/2/?var=value](http://test.ru/catalog/page/2/?var=value)
 * Thanks for answer!
 *  Thread Starter [friendrix](https://wordpress.org/support/users/friendrix/)
 * (@friendrix)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-rewrites-variable-page/#post-5622572)
 * I found that using var `paged` turn URL to view like this
    [http://test.ru/catalog/page/2/?var=value](http://test.ru/catalog/page/2/?var=value)
   Is this var recommended for use in pagination? Or I should use a different query
   var?
 *  [Ryan Sechrest](https://wordpress.org/support/users/sovereign/)
 * (@sovereign)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-rewrites-variable-page/#post-5622588)
 * OK, thanks for clarifying! In your case, you absolutely should use the built-
   in query var. Based on your first post, it sounded like you wanted to use this
   query var for something more custom and prevent the default behavior, but I see
   now that you’re merely concerned with the presentation.
 * The difference between `page` and `paged` is that `page` is used for pagination
   on a [static front page](http://codex.wordpress.org/Creating_a_Static_Front_Page),
   but anywhere else in WordPress, `paged` should be used. You can find more info
   about the [pagination parameters](http://codex.wordpress.org/Class_Reference/WP_Query#Pagination_Parameters)
   in the WordPress codex.
 * Does everything work how you need it to when using `paged`?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress rewrites variable “page”’ is closed to new replies.

## Tags

 * [page](https://wordpress.org/support/topic-tag/page/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Ryan Sechrest](https://wordpress.org/support/users/sovereign/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-rewrites-variable-page/#post-5622588)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
