Title: Custom pagination query variable
Last modified: November 12, 2022

---

# Custom pagination query variable

 *  Resolved [Skygrinder](https://wordpress.org/support/users/skygrinder/)
 * (@skygrinder)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-pagination-query-variable/)
 * Hello, I am using a custom query var in the url to paginate single posts
 * For example a post may have different content for example.com/example-post/page
   =2, example.com/example-post/page=3 etc.
 * The problem is that when page cache is enabled there are times when page 3 displays
   content from page 1 for example.
 * Any idea why this is happening?

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-pagination-query-variable/#post-16196066)
 * hello [@skygrinder](https://wordpress.org/support/users/skygrinder/)
 * Thank you for reaching out and I am happy to assist you with this.
    Can you please
   share the website URL? Please also share which caching method you re using for
   Page Caching. Thanks
 *  Thread Starter [Skygrinder](https://wordpress.org/support/users/skygrinder/)
 * (@skygrinder)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-pagination-query-variable/#post-16224824)
 * Hello, I cannot share the url at the moment but the caching method is Opcode 
   Alternative PHP Cache (APC / APCu)

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

The topic ‘Custom pagination query variable’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Skygrinder](https://wordpress.org/support/users/skygrinder/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/custom-pagination-query-variable/#post-16224824)
 * Status: resolved