Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 5th Jan 2012, 12:07 PM   #1
HyperActive Warrior
 
Join Date: 2010
Posts: 205
Thanks: 3
Thanked 22 Times in 20 Posts
Default
Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

I've noticed that my site redirects to the mobile version for my iPad, which seems unnecessary. Does anyone know how to tweak a redirect script that goes by resolution to avoid that?
Thanks.
Danielm is offline  
Unread 5th Jan 2012, 12:55 PM   #2
Mobile+WP = JumpMobi.com
War Room Member
 
Jay Moreno's Avatar
 
Join Date: 2009
Location: San Antonio, Tx
Posts: 1,270
Thanks: 301
Thanked 449 Times in 309 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Danielm View Post

I've noticed that my site redirects to the mobile version for my iPad, which seems unnecessary. Does anyone know how to tweak a redirect script that goes by resolution to avoid that?
Thanks.
The best way to prevent that is to use user agent detection and to tell it not to redirect when it detects and ipad... it sounds like you are using javascript screen size detection... if thats the case it sounds like you have a small screen size setting try increasing your screen size detection to be less than 1024 pixels am guessing its set to around 800 or smaller right now.

if your using wordpress you will find some plugins similar to ours that will address these issues for you without you having to hack or add any code

hope that helps

cheers

jay

Sorry, I am too busy helping people to think of a cool signature!
Jay Moreno is offline  
Unread 5th Jan 2012, 01:22 PM   #3
Ultimate Warrior
 
HypeText's Avatar
 
Join Date: 2011
Posts: 734
Thanks: 28
Thanked 181 Times in 131 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

This is why it's essential to have a link on the Mobile site that allows the user to click to view the Desktop version of the site. Give the visitor a choice...

(916) 520-HYPE (4973)
Local & Mobile Marketing Solutions
$0 Setup & $99/mnth Private Label Reseller Accts
HypeText is offline  
Unread 5th Jan 2012, 01:29 PM   #4
Dave Zegers
War Room Member
 
Join Date: 2011
Location: The Hague
Posts: 559
Thanks: 229
Thanked 207 Times in 118 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

With this script you can select what device should be sent to what URL..
YellowGreenMedia is offline  
Unread 5th Jan 2012, 01:37 PM   #5
Mobile+WP = JumpMobi.com
War Room Member
 
Jay Moreno's Avatar
 
Join Date: 2009
Location: San Antonio, Tx
Posts: 1,270
Thanks: 301
Thanked 449 Times in 309 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

Originally Posted by HypeText View Post

This is why it's essential to have a link on the Mobile site that allows the user to click to view the Desktop version of the site. Give the visitor a choice...
if the desktop site uses a regular redirection script without some kind of preventive redirect loop feature a simple back link wouldn't be suffice - the user will continue to get sent back to the mobile site and be stuck in a loop

the redirection script needs to know whether or not to trigger for returning visitors - there are several methods that can be implemented to do this

Sorry, I am too busy helping people to think of a cool signature!
Jay Moreno is offline  
Unread 5th Jan 2012, 01:44 PM   #6
Ultimate Warrior
 
HypeText's Avatar
 
Join Date: 2011
Posts: 734
Thanks: 28
Thanked 181 Times in 131 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Jay Moreno View Post

if the desktop site uses a regular redirection script without some kind of preventive redirect loop feature a simple back link wouldn't be suffice - the user will continue to get sent back to the mobile site and be stuck in a loop

the redirection script needs to know whether or not to trigger for returning visitors - there are several methods that can be implemented to do this

A redirect script done correctly will redirect www.website.com when visited on a mobile device to whatever the mobile address is, but www.website.com/index.html will bring up the Desktop site on that mobile device.

For instance. Feel free to visit out mobile site on your mobile device at m.hypetext.com and then scroll to the bottom and click "Classic" and it will show our Desktop site.

(916) 520-HYPE (4973)
Local & Mobile Marketing Solutions
$0 Setup & $99/mnth Private Label Reseller Accts
HypeText is offline  
Unread 5th Jan 2012, 01:58 PM   #7
Mobile+WP = JumpMobi.com
War Room Member
 
Jay Moreno's Avatar
 
Join Date: 2009
Location: San Antonio, Tx
Posts: 1,270
Thanks: 301
Thanked 449 Times in 309 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

Originally Posted by HypeText View Post

A redirect script done correctly will redirect www.website.com when visited on a mobile device to whatever the mobile address is, but www.website.com/index.html will bring up the Desktop site on that mobile device.

For instance. Feel free to visit out mobile site on your mobile device at m.hypetext.com and then scroll to the bottom and click "Classic" and it will show our Desktop site.
like you said when a redirect is done properly!

there are plenty of basic standalone re-director scripts that arent implemented properly that will cause people to get stuck in a loop...

as i mentioned there are several ways of doing it, yours looks like it appends a variable to the returning url and the main site determines what to do with the returning visitor based on that variable... theres many pros and cons to how you do it bottom line it needs to be done properly to prevent getting stuck in a loop!

Sorry, I am too busy helping people to think of a cool signature!
Jay Moreno is offline  
Unread 5th Jan 2012, 01:59 PM   #8
Ultimate Warrior
 
HypeText's Avatar
 
Join Date: 2011
Posts: 734
Thanks: 28
Thanked 181 Times in 131 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

Very True...

Kinda pays to know what you are doing!

(916) 520-HYPE (4973)
Local & Mobile Marketing Solutions
$0 Setup & $99/mnth Private Label Reseller Accts
HypeText is offline  
Unread 5th Jan 2012, 04:08 PM   #9
Advanced Warrior
 
Join Date: 2006
Location: , , .
Posts: 736
Thanks: 33
Thanked 144 Times in 119 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

Most of redirect provided by WSO members here with their mobile site themes do redirect to mobile when ipad is used to browse. And I was demoing without knowing it for the 1st time, I was in trouble, my client said I like the regular version on ipad but would like the mobile for mobile phones. I was stuck!
So please next time think of ipad before you sell any mobile themes with redirects.

4webmaster is offline  
Unread 5th Jan 2012, 09:24 PM   #10
HyperActive Warrior
 
Join Date: 2010
Posts: 205
Thanks: 3
Thanked 22 Times in 20 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

Thanks gang, its a WP site using a plugin for the redirect. It is set at less than or = 1023 but the ipad is 1024, I guess just turning it on its side causes it to use the 768 side. I'll have to play around with it or look for a device specific redirect vs just resolution.
Danielm is offline  
Unread 6th Jan 2012, 03:29 AM   #11
Mobile+WP = JumpMobi.com
War Room Member
 
Jay Moreno's Avatar
 
Join Date: 2009
Location: San Antonio, Tx
Posts: 1,270
Thanks: 301
Thanked 449 Times in 309 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

Originally Posted by 4webmaster View Post

Most of redirect provided by WSO members here with their mobile site themes do redirect to mobile when ipad is used to browse. And I was demoing without knowing it for the 1st time, I was in trouble, my client said I like the regular version on ipad but would like the mobile for mobile phones. I was stuck!
So please next time think of ipad before you sell any mobile themes with redirects.
Maybe easier to use a separate solution specifically designed to handle redirects of that nature instead of relying on the theme designer to provide you with that solution. Have seen recently on here that the redirect is sometimes an after thought and then hastily put together. If you need a standalone code for the iPad ie your not using Wordpress drop me a pm I can probably help you out with your iPad issue if You havent already got a solution.

Sorry, I am too busy helping people to think of a cool signature!
Jay Moreno is offline  
Unread 6th Jan 2012, 03:44 AM   #12
Mobile+WP = JumpMobi.com
War Room Member
 
Jay Moreno's Avatar
 
Join Date: 2009
Location: San Antonio, Tx
Posts: 1,270
Thanks: 301
Thanked 449 Times in 309 Posts
Default
Re: Mobile site redirection without iPad?
Share on: 
fb share twitter share gplus share more share

Originally Posted by Danielm View Post

Thanks gang, its a WP site using a plugin for the redirect. It is set at less than or = 1023 but the ipad is 1024, I guess just turning it on its side causes it to use the 768 side. I'll have to play around with it or look for a device specific redirect vs just resolution.
Ours does this out of the box, have found other plugins do the same but many fall short when it comes to handling returning visitors when they are going from the mobile site back to the main site it just pushes them back to the mobile site again.

Hth

Jay

Sorry, I am too busy helping people to think of a cool signature!
Jay Moreno is offline  
Closed Thread


Bookmarks

Tags
ipad, mobile, redirection, site


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:07 PM.