Forum


HomeHomePremiumPremiumAdministrationAdministrationPage not redirecting on  mobile phonePage not redirecting on mobile phone
Previous
 
Next
New Post
5/13/2017 11:29 PM
 

Hi Aderson,

I have a slight problem with redirects on a mobile phone.

I have a site where the main url will be redirected to a new page each day.

i.e. 

On the first day:
www.mysite.com  > www.mysite.com/path/day1
On the  second day:
www.mysite.com  > www.mysite.com/path/day2

And so on.

I've set the redirect under page management > page > link > redirect.

This works fine on a desktop, but on my  Android phone using Chrome, it still redirects to page 1 when it should be redirecting to page 2.

I assume the phone is caching the page and in fact the redirect. is there any way to prevent that from DNN administration?

Or do I need to set it in the ASCX page using Response.cache?

Best Regards,

Steve

 
New Post
5/15/2017 7:23 AM
 

Hi Steve,

This seems to be a known complaint about Chrome. On this thread they recommend some control headers in the 301 redirect, but this will require coding.

I think it is worth trying.

Best regards,

Aderson

 
New Post
5/15/2017 8:57 AM
 

Thank you Aderson.

I should have looked a bit further, I was thinking it was the DNN or ASP.NET set up.
Yes, it might be worth looking at the 301 redirect at some point.

I found the same thing happens with Firefox on my phone.

Thank you once again.

Steve

 
New Post
5/15/2017 10:21 AM
 

For anyone who might be interested, I am now discovering that chrome on my desktop doesn't like the redirect going to a different page each day. I'm getting the following error having redirected the home page each day for 4 days:

[mysite].com redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

I will try changing the home page instead, that way it's not a redirect. I didn't want to do that, as I'm using the path in the url for generating the urls for some navigation buttons. But I will have to work around that.

Best Regards,

Steve

 
New Post
5/15/2017 1:56 PM
 

Thank you Steve - I have seen very strange behavior from Chrome regarding caching lately - For instance: DNN 9 persona bar works very oddly on "my" Chrome. Mouse over doesn't work. You have to actually click on the persona bar items to bring up the subnavigation.

I'm one step away from uninstalling and re-installing to see if it would fix.

Cheers,

Aderson

 
Previous
 
Next
HomeHomePremiumPremiumAdministrationAdministrationPage not redirecting on  mobile phonePage not redirecting on mobile phone



Try FREE
30 days money back guaranteed