Title: Wrong page served
Last modified: December 3, 2020

---

# Wrong page served

 *  [Web Expert](https://wordpress.org/support/users/seldimi/)
 * (@seldimi)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/wrong-page-served/)
 * When APO is enabled I think that wp_is_mobile() is not working well.
    I have 
   WP rocket and mobile detect on my theme. When I activate APO, I get homepage 
   and inner pages served as mobile on desktop computer and the opposite. Wesite
   is in nginx. If I disable APO everything runs smoothly.

Viewing 1 replies (of 1 total)

 *  [yevgens](https://wordpress.org/support/users/yevgens/)
 * (@yevgens)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/wrong-page-served/#post-13758593)
 * By default APO has a shared cache regardless of device target. In order to cache
   pages for mobile devices separately you need to activate APO’s “Cache By Device
   Type”: [https://support.cloudflare.com/hc/en-us/articles/360049822312#h_01ERZ6QHBGFVPSC44SJAC1YM6Q](https://support.cloudflare.com/hc/en-us/articles/360049822312#h_01ERZ6QHBGFVPSC44SJAC1YM6Q)

Viewing 1 replies (of 1 total)

The topic ‘Wrong page served’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [yevgens](https://wordpress.org/support/users/yevgens/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/wrong-page-served/#post-13758593)
 * Status: not resolved