Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Mobile Redirect External UrlMobile Redirect External Url
Previous
 
Next
New Post
4/12/2012 10:59 AM
 

Just upgraded our website to DNN 6.1.5 CE and have been playing with the Site Redirection features have been added from the PE and EE editions. 

Currently the mobile version of our DNN website is an entirely different url/website built on asp.net MVC.  Before the addition of the Site Redirection tools in DNN 6.1.5, we were just using the built in API to do redirects - but we are now going to take advantage of the ability to edit this through the website interface. 

The question I have is on our mobile site, we have a link that allows a user to "View Full Site" which then takes them to the full DNN site.  What we did previously is pass a query string parameter with this link that we then checked in our DNN site on whether or not to perform the redirection to mobile through the API.  

After removing our custom redirection logic and using the Site Redirection features, when we click this link, we just get redirected back to the mobile site.  Is there any way to prevent a re-redirect when this link is clicked through the Site Redirection configuration?

 
New Post
4/15/2012 11:39 PM
 

Hi,

Uncomment the section <location name="noredirect" url=""> in the file 51Degrees.mobi.config and add the word 'noredirect' in the url, it should works.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
4/16/2012 2:06 PM
 

Gilles - thanks for the help!

It seems like this should work, but I can't get it to work.

So just to go into a little more detail of what I have now setup.

1.  In the DNN Site Redirection Management, I have one setting that redirects the home page to my external mobile url.

2.  In the 51Degrees.mobi.config file I have uncommented/modified the following

<redirect>
     <locations>
         <location name="noredirect" url="">
             <add property="Url" matchExpression="[&amp;|\?]noredirect"/>
         </location>
     </locations>
</redirect>

3.  In my mobile site I have this url to navigate to the "Full" site:  http://website.com?noredirect

However when I click the "Full Site" link it still does a redirect back to mobile.  Am I missing something still?

Again thanks!

 
New Post
4/23/2012 9:25 AM
 

Think I found a solution: http://www.dotnetnuke.com/Resources/F...

Just needed to append "?nomo=1" to the end of the link that redirected a user from the mobile site to the full site.  There is no need to modify the 51degrees.mobi.config file to get this to work.  Couldn't find any mention of this parameter in any of the following mobile API's, so thanks Julien G!

1.   http://www.dotnetnuke.com/Resources/B...

2.  http://www.dotnetnuke.com/Resources/W...

3.  http://www.dotnetnuke.com/Resources/B...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Mobile Redirect External UrlMobile Redirect External Url


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out