More in this section
Forums / Deployment / sitefinity site redirecting to mobile sitefinity site

sitefinity site redirecting to mobile sitefinity site

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Robert Williams
    Robert Williams avatar
    11 posts
    27 Sep 2012
    08 Mar 2011
    Link to this post
    I developed a website in Sitefinity 3.7.  the site works great.  The client wishes to reach to the mobile users by using another site completely designed for mobile users.  The mobile site will even be a different URL. 
    I am a web developer and not a coder.
    How do I set it up where when a mobile user goes to the regular site, they are automatically redirected to the mobile version at a different domain?  I received some help from but the recommendation was a lot of coding, additional files, and required a newer version of Visual Studio for me to recompile a DLL.  I do not wish to do that.  If there is an option in IIS or in the web.config/global.asax file that can do this, I'd rather go that route.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    14 Mar 2011
    Link to this post
    Hi Robert Williams,

    You can try doing this from Global asax file. You can subscribe to the begin request and check if the request is coming from a mobile device:
    void Application_Start(object sender, EventArgs e)
        BeginRequest += new EventHandler(global_asax_BeginRequest);
    void global_asax_BeginRequest(object sender, EventArgs e)
        //check if request is coming from a mobile device and if so redirect to your mobile pages.

    Kind regards,
    Radoslav Georgiev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
2 posts, 0 answered