Knowledge Base
medianova.comSupportLog in
  • Welcome to the Medianova Knowledge Base
  • Getting Started
    • Concepts
    • Start your Free Trial
  • Products
    • Security
      • DDoS Protection
      • SSL/TLS Encryption
        • How to upload and manage SSL Certificates?
        • How to Extract CRT and KEY Files from a PFX Certificate
        • How can I use Free SSL?
        • FAQ
      • Web Application Firewall (WAF)
        • How to activate WAF?
        • Analytics
      • Rate Limiting
      • Hotlink Protection
      • IP Restriction
      • Geoblocking
      • FAQs
    • Performance / CDN
      • Static Content Delivery
        • Create Small Resource
        • Create Large Resource
        • Integrating Static CDN Resource
        • Configuration Basics
          • Medianova IP Blocks
        • Advanced Configuration
          • Origin Settings
            • Advanced Origin Settings
            • Rewrite Origin URLs
            • Origin SNI Request
            • Redirect Handle From Origin
            • Origin Response Timeout
          • CNAME
          • Caching
            • Edge Cache Expiration
            • Browser Cache Rule
            • Query String Caching
            • Etag Verification
            • Error Status Code Cache Expiration
            • Shared Cache
            • Stale Cache
            • Robots.txt file
            • Range Based Caching
          • Headers
            • CORS Header
            • Custom Header
            • X-CDN Header
            • Origin Host Header
            • HTTP Strict Transport (HSTS) Protection
            • X-Frame Options
            • X-XSS Protection
            • X-Content Type Options
          • Purge
          • Prefetch
          • Page Rules
            • Manage Page Rules
            • Page Rules Settings
          • Compression
            • How to Configure Gzip and Brotli
        • Website Framework Integrations
          • Magento CDN Integration
          • Wordpress CDN Integration
          • Phalcon CDN Integration
          • CakePHP CDN Integration
        • Analytics
      • Dynamic Content Acceleration
        • Create Dynamic Resource
        • Integrating Dynamic CDN Resource
        • Aksela Test Steps
        • Advanced Configuration
          • Origin Settings
            • Advanced Origin Settings
            • Rewrite Origin URLs
            • Origin SNI Request
            • Redirect Handle From Origin
            • Origin Response Timeout
          • Caching
            • Edge Cache Expiration
            • Browser Cache Rule
            • Query String Caching
            • Etag Verification
            • Error Status Code Cache Expiration
            • Shared Cache
            • Stale Cache
            • Disallow Cookie Base Cache
            • Cookie Base Cache
            • Header Base Cache
            • Header Value Base Cache
            • MNUID Cookie Base Cache
            • Mobile Redirect
          • Headers
            • CORS Header
            • Custom Header
            • X-CDN Header
            • Origin Host Header
            • HTTP Strict Transport (HSTS) Protection
            • X-Frame Options
            • X-XSS Protection
            • X-Content Type Options
          • Purge
          • Prefetch
          • Page Rules
          • Compression
        • Analytics
      • Streaming Content Delivery
        • Create Streaming Resource
        • Advanced Configuration
          • Origin Settings
            • Redirect Handle From Origin
            • Origin Response Timeout
          • Headers
            • CORS Header
            • Custom Header
            • X-CDN Header
            • Origin Host Header
          • Stream Management
        • Analytics
      • API Caching
      • Private CDN
      • Image Optimization and WebP
        • What is Image Optimization and How Does It Work?
        • What is WebP and How Does It Work?
        • How to Activate Image Optimization and WebP?
        • Analytics
      • FAQs
    • Object Storage / Stook
      • What is Stook?
      • How to Create Stook?
      • How to Connect Bucket?
      • Access Key Management
      • Stook Integration and Usage Guides
        • Migrating Data to Stook Using Rclone
        • Data Transfer to Stook with Cyberduck
        • How to use the AWS SDK for Laravel with Stook?
        • How to use the AWS SDK for PHP with Stook?
        • How do I use the AWS SDK for .NET with Stook?
        • Stook Storage User Guide for AWS CLI
        • How to use AWS SDK for JavaScript with Stook?
        • How do I use Stook with the AWS Java SDK?
        • Using Pre-Signed URL PHP with Stook
        • Using Pre-Marked URL NODEJS With Stook
    • Analytics (MN Logz)
      • Real-Time Logpush
      • Raw Logs
  • Account & Billing
    • Managing Account and Organizations
      • Create new organization
      • Invite user
      • Changing Cloud Panel password
      • Access Controls and Authentication
    • Subscription and Billing
      • Packages
        • Free Trial
        • Starter
        • Growth
        • Enterprise
        • Add-ons
      • Policy
      • Upgrade & Downgrade Procedures
      • Changing your subscription package
      • Payment Info
      • Invoices
  • API Documentation
    • Authentication
    • Security
      • Web Application Firewall (WAF)
      • SSL/TLS
      • Always Use HTTPS Settings
      • Origin Basic Authentication
      • Secure Token
      • Bot Protection
      • Hotlink Protection
      • User Agent ACL
      • IP Restriction ACL
      • Geoblocking
    • Performance / CDN
      • Resources
      • Origin Settings
      • CNAME & SSL
      • Caching
      • Headers
      • Image Optimization & WebP
      • Page Rule
      • Purge
      • Prefetch
      • Stream Management
    • Object Storage / Stook
    • Analytics
      • WAF Analytics
  • Support and Troubleshooting
    • Common Issues and Solutions
      • Troubleshooting Common Setup Issues
      • Troubleshooting Performance Problems
    • Contacting Customer Support
  • Glossary
    • Definition of Important CDN Terms
    • Acronyms and Abbreviations
    • Definition of HTTP Status Error Codes
Powered by GitBook
LogoLogo

© 2025 Medianova. All rights reserved.

On this page
  • Key Features
  • How it works?
  • How to Configure Mobile Redirect

Was this helpful?

Export as PDF
  1. Products
  2. Performance / CDN
  3. Dynamic Content Acceleration
  4. Advanced Configuration
  5. Caching

Mobile Redirect

The Mobile Redirect feature in the Medianova Cloud Panel allows for the redirection and caching of content based on the device type (mobile or desktop). This functionality is designed to optimize the delivery of content by providing device-specific responses, ensuring that mobile users receive content tailored for their devices while desktop users are directed to the standard version of the site.

This feature helps improve both performance and user experience by customizing content delivery depending on whether the user is on a mobile or desktop device.

Key Features

  • Device-Specific Redirection: The Mobile Redirect feature enables you to redirect users based on the device they are using, either a mobile device or a desktop. This ensures that mobile users are directed to a mobile-optimized version of the site, while desktop users continue to access the standard desktop version.

  • Optimized Mobile Content Delivery: When enabled, mobile-specific content can be cached separately for faster delivery to mobile users. This ensures that mobile users receive a tailored experience, improving load times and performance on mobile devices.

How it works?

  1. Enabling Mobile Redirect: The Mobile Redirect feature can be activated by toggling the setting to On. Once activated, the system will begin redirecting traffic based on device type.

  2. Force User-Agent:

    • When the Force User-Agent option is set to On, the system automatically adds the query parameter ?mobile=true to requests from mobile User-Agents. This allows the backend to identify the request as originating from a mobile device.

    • Enabling this setting also ensures that mobile content is cached separately, optimizing delivery and performance for mobile users.

    • Default Setting: The Force User-Agent option is Off by default. When turned On, it triggers the caching of mobile-specific content and enables faster delivery.

    Important: When Force User-Agent is On, the following settings will not be visible:

    • Mobile Redirect Keep Path

    • Mobile Redirect Type

    • Mobile Redirect URL

  3. Additional Settings (Visible only when Force User-Agent is Off): If Force User-Agent is turned Off, the following additional configuration options become available:

    • Mobile Redirect Keep Path: Determines how the URI path is handled during the redirection process.

      • Keep: Retains the original URI path when redirecting users to the mobile or desktop version of the site.

      • Drop: Removes the URI path during redirection. This option is useful if you want to redirect users to a different URL without keeping the original path.

    • Mobile Redirect Type: Specifies the direction of the redirection:

      • Desktop to Mobile: Redirects desktop users to the mobile version of the site.

      • Mobile to Desktop: Redirects mobile users to the desktop version of the site.

    • Mobile Redirect URL: Defines the URL to which users will be redirected. This is a required field when configuring mobile redirects. You must specify a valid URL for the redirection to function correctly.

  4. Submitting Changes: After configuring the desired settings, click the Submit button to save and apply the changes. This will activate the mobile redirection and caching settings based on your configuration.

How to Configure Mobile Redirect

  1. In the Medianova Cloud Panel, navigate to the CDN Resources section from the left-hand menu.

  2. Select the relevant resource that you want to configure.

  3. Click on the Caching tab to access the caching settings.

  4. Scroll down to the Mobile Redirect section and toggle the setting to On.

  5. If Force User-Agent is set to Off, configure the following options:

    • Select either Keep or Drop for the Mobile Redirect Keep Path option.

    • Choose the appropriate Mobile Redirect Type (Desktop to Mobile or Mobile to Desktop).

    • Enter the Mobile Redirect URL for the target redirection.

  6. Click Submit to apply the changes.

Important Notes

  • Mobile-Specific Caching: Enabling Force User-Agent will result in separate caching for mobile content, ensuring faster delivery of mobile-optimized resources.

  • Redirection Control: You have full control over the redirection behavior, including whether to keep or drop the original URI path and whether to redirect mobile or desktop users.

  • Redirection URL: It is important to specify a valid URL for the Mobile Redirect URL to ensure the redirection works as intended.

By configuring the Mobile Redirect feature, you ensure that users on mobile devices are served optimized content while desktop users are directed to the appropriate version of the site. This helps improve the overall user experience by tailoring content delivery to the device type.

PreviousMNUID Cookie Base CacheNextHeaders

Last updated 5 months ago

Was this helpful?