Devices not redirected to mobile site
-
stefanbagnato
- Observer

- Posts: 30
- Joined: Sun Aug 20, 2017 9:35 pm
- Location: Raleigh, NC
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate
- Contact:
Devices not redirected to mobile site
I (finally) made the change in the Main Settings to redirect phones and tablets to my mobile site, using Jachym's fixed page. However, neither my Samsung GS6 nor my wife's iPad 4 redirect. Currently, I have both redirect settings set to "yes", hi and low-res devices set to 0px (default), and a little further down I have the custom page width set to 1600px. Any ideas as to what I am doing wrong?
- Dehatter
- Professional

- Posts: 350
- Joined: Sun Jan 07, 2018 5:11 am
- Location: Matthews, NC, USA
- Station model: Ecowitt WH80
- Software: Ecowitt GW1000
- Contact:
Re: Devices not redirected to mobile site
Here are where you decide what resolution get redirected.
The first number is devices identified as mobile (or tablet) but have high resolution go to desktop (1200px in my case)
The second number is a device identified and nonmobile but has a low resolution go to the mobile page (900px in my case)
I believe your mobile devices have a high resolution so if you want to, you can increase the first number to allow tablets and such to be redirected.
G6 has 2560 x 1440
ipad4 has 2048 x 1536
Tom
The first number is devices identified as mobile (or tablet) but have high resolution go to desktop (1200px in my case)
The second number is a device identified and nonmobile but has a low resolution go to the mobile page (900px in my case)
I believe your mobile devices have a high resolution so if you want to, you can increase the first number to allow tablets and such to be redirected.
G6 has 2560 x 1440
ipad4 has 2048 x 1536
Tom
- Attachments
-
- redirect.jpg (42.16 KiB) Viewed 7872 times
-
stefanbagnato
- Observer

- Posts: 30
- Joined: Sun Aug 20, 2017 9:35 pm
- Location: Raleigh, NC
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate
- Contact:
Re: Devices not redirected to mobile site
Thanks, Tom. It's odd, because no matter what pixel count I set them to, nothing redirects. Currently set at 1600 and 900. If you could, would you mind testing it? Southwakeweather.com
- Dehatter
- Professional

- Posts: 350
- Joined: Sun Jan 07, 2018 5:11 am
- Location: Matthews, NC, USA
- Station model: Ecowitt WH80
- Software: Ecowitt GW1000
- Contact:
Re: Devices not redirected to mobile site
Well I did not get redirected on my iPhone 7. just a crazy idea... Did you click save at the bottom? Sometimes I forget to click it.
And you have the redirect phones and tablets marked yes?
Just double checking.
If I select the phone page at the bottom, your mobile site is indeed working.
If you answer yes, it is beyond my help.
Tom
And you have the redirect phones and tablets marked yes?
Just double checking.
If I select the phone page at the bottom, your mobile site is indeed working.
If you answer yes, it is beyond my help.
Tom
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Devices not redirected to mobile site
The problem is that some phones or tablet these days have resolution equivalent to PCs, in which case the desktop site should work fine (if you are using landscape mode).
-
stefanbagnato
- Observer

- Posts: 30
- Joined: Sun Aug 20, 2017 9:35 pm
- Location: Raleigh, NC
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate
- Contact:
Re: Devices not redirected to mobile site
I did save it, although I have forgotten before, so it wasn't a bad suggestion.
Jachym, given the devices I mentioned above with the resolutions, should I just try to set that number even higher? I tested it all the way up to 2600....
I am not too concerned about how it ends up coming up on the iPad; I am really more focused on cell phones.
Jachym, given the devices I mentioned above with the resolutions, should I just try to set that number even higher? I tested it all the way up to 2600....
I am not too concerned about how it ends up coming up on the iPad; I am really more focused on cell phones.
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Devices not redirected to mobile site
The script for detecting a phone and tablets is not 100% reliable, mostly because some high-end phones behave as PCs. I would try playing around with the widths, yes.