Cookie Redirect

Overview

The Classic link in the footer of the mobile sites is a useful feature, which gives mobile users the option to view the original version of a page instead of the mobile version.

However, if a redirect is installed on your site, the next link a user clicks will take them back to the mobile site.  To disable this behavior, install the Cookie Redirect in place of the script given on the mobile editor. 

 

Steps

1. Login to your hosting provider and open the index file in the file manager. If your original site was built using a CMS, open the header box/HTML box where the script was pasted. See our article on installing the mobile redirect for more info.

2. If you have an existing Duda redirect installed, remove or delete it.

3. Paste the following script immediately after the <head> tag.

<script type="text/javascript" src="http://static.dudamobile.com/DM_redirect_cookie.js"></script> 
<script type="text/javascript">DM_redirect("http://mobile.dudamobile.com/site/undefined");</script> 

4. Replace the red text in the script above with your mobile site's url. Make sure it include the http://.

5. Save your edits and publish if needed. The Classic link will now keep the site in desktop view when clicked on!

Note: You will need to setup this redirect on all pages which you want to make mobile friendly.

Considerations

The Cookie redirect will not leave the site in desktop view indefinitely, it enables it for one hour on the device it is accessed from.

×

Priority Phone Support

English phone support is available 18 hours a day,
Monday through Friday, 3am to 9pm (EST).

United States +1 866-776-1550 3am to 9pm (Eastern)
United Kingdom +44 (0)800-011-9071 8am to 2am (London)
France +33 (0)9-75-18-84-74 9am to 3am (Paris)
Israel +972 (0)3-720-8922 10am to 4am (Jerusalem)
Australia +61 (0)2-8880-9166 7pm to 1pm (Sydney)
To schedule a call in French, Portuguese, Hebrew or Russian, please email us at prioritysupport@dudamobile.com
×

Please Log in as a DudaPro

Priority Phone Support is available exclusively to DudaPros. Log in to your DudaPro account now to see our international support numbers.

Log In
Not a DudaPro? Start a free trial now!