Title: trivelo's Replies | WordPress.org

---

# trivelo

  [  ](https://wordpress.org/support/users/bufisys/)

 *   [Profile](https://wordpress.org/support/users/bufisys/)
 *   [Topics Started](https://wordpress.org/support/users/bufisys/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bufisys/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bufisys/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bufisys/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bufisys/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bufisys/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Media Offloader – Offload Media to Amazon S3, Cloudflare R2, DigitalOcean Spaces & More] URL Rewrite not working as expected for my eCommerce](https://wordpress.org/support/topic/url-rewrite-not-working-as-expected-for-my-ecommerce/)
 *  Thread Starter [trivelo](https://wordpress.org/support/users/bufisys/)
 * (@bufisys)
 * [11 months ago](https://wordpress.org/support/topic/url-rewrite-not-working-as-expected-for-my-ecommerce/#post-18688377)
 * Resolved, seems I forgot to add https:// on the define(‘ADVMO_CLOUDFLARE_R2_DOMAIN’
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Specific Content For Mobile - Customize the mobile version without redirections] Issue with FlyingPress Cache and optimization](https://wordpress.org/support/topic/issue-with-flyingpress-cache-and-optimization/)
 *  Thread Starter [trivelo](https://wordpress.org/support/users/bufisys/)
 * (@bufisys)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/issue-with-flyingpress-cache-and-optimization/#post-18079178)
 * Hi Jose,
 * It seems that FlyingPress and FlyingCDN are not compatible with this plugin, 
   due that FlyingCDN doesn’t generate a separate cache for mobile devices. I resolved
   this by adding to header below Javascript. Hope it help someone else who uses
   same.
 *     ```wp-block-code
       <script type="text/javascript">    // Run the redirection check as soon as possible    (function() {        // Simple mobile detection        var isMobile = window.innerWidth <= 768 || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);        if (isMobile) {            // Check if 'scfm-mobile=1' is already in the URL            if (window.location.href.indexOf('scfm-mobile=1') === -1) {                // Append '?scfm-mobile=1' to the current URL                var newUrl = window.location.href + (window.location.href.indexOf('?') === -1 ? '?' : '&') + 'scfm-mobile=1';                // Redirect before loading other resources                window.location.replace(newUrl);             }        }    })();</script>
       ```
   
 * All needed to be done afterwards is to ensure that they cache that query string.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Specific Content For Mobile - Customize the mobile version without redirections] Issue with FlyingPress Cache and optimization](https://wordpress.org/support/topic/issue-with-flyingpress-cache-and-optimization/)
 *  Thread Starter [trivelo](https://wordpress.org/support/users/bufisys/)
 * (@bufisys)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/issue-with-flyingpress-cache-and-optimization/#post-18075183)
 * Seems it is issue with FlyingPress plugin, their team is working to resolve it.

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