Skip to content

Add desktop detect & redirect? #43

Closed

Description

@williamMarx

Would it be possible to add a redirect parameter to the config that enables redirection for desktop devices as well? Something like:

mobile_detect:
redirect:
mobile: ~
tablet: ~
desktop:
is_enabled: true
host: http://site.com
status_code: 301
action: redirect
switch_device_view: ~

This configuration would be used on a dedicated mobile site (e.g. http://m.site.com) so that it could redirect desktop traffic to the full site (e.g. http://site.com).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions