How to do a redirect to a different site for mobile devices
Last Post 08/11/2015 8:36 AM by Andy Stephenson DNN Creative. 1 Replies.
Author Messages
Cam
Posts:99


--
08/10/2015 8:52 PM  
hello,

How to do a redirect a visitor to a different site for mobile devices? Let's say I want to redirect the visitor to a mobile site like m.mysite.com when he is using his phone to view mysite.com. Also what if I want an option for the use to go back to the original site? Like a link to "view mysite.com".

How do I implement this?

Please help

cami
Andy Stephenson DNN Creative
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:169


--
08/11/2015 8:36 AM  
Hi Cami,

On DNN you have the "Site Redirection Management" under Admin. There you can specify an URL to redirect mobile users to.

Regarding your second option, there is a spacial skin object that can redirect users to the full version of your site. Here it is:

LINK TO MOBILE SITE
<%@ Register TagPrefix="dnn" TagName="LinkToFullSite" Src="~/Admin/Skins/LinkToFullSite.ascx" %>
Ascx Token:
 <dnn:LinkToFullSite ID="dnnLinkToFullSite" runat="server" / /> 


LINK TO MOBILE SITE
<%@ Register TagPrefix="dnn" TagName="LinkToMobileSite" Src="~/Admin/Skins/LinkToMobileSite.ascx" %>
Ascx Token:
 <dnn:LinkToMobileSite ID="dnnLinkToMobileSite" runat="server" / /> 


Sincerely,
Andy


---