Jump to content

Recommended Posts

Posted

Hey everyone, I'm having a very strange problem with a website I'm developing.

Basically no redirects are working when I view the website on a mobile device, but yet they work fine on a computer.

For example I'm using the below code

$session->redirect($page->child()->url); 

But it only works on my computers. I've even installed the Jumplinks module and its doing exactly the same thing with any redirect I create!

I'm really confused as there is nothing differently displayed or configured for mobile devices, that would cause this. Can anyone suggest anything I may have overlooked?

Thanks in advance.

Posted

On mobile it just doesn't redirect. I've checked and cleared all caches, I've also tried different mobiles and I still get the same behaviour.

It really doesn't make any sense

Thank you

Posted

Okay I've worked something out.....

The redirects only work when I'm logged in! Why would this be? I've never seen this happen before. The page is viewable to everyone/guests, so its not hidden behind any user login or strict permissions etc

 

Thank you

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...