How to stop Ipad from redirecting to mobile site using htaccess?

I have an htaccess file that redirects well and includes a cookie to allow users to go back to the full site. How do I remove an ipad from it so that it isn't redirected to the mobile site? My website is kyneurosurgery.com and my htaccess code is below:
RewriteEngine on
RewriteBase /
# Check if this is the noredirect query string
RewriteCond %{QUERY_STRING} (^|&)m=0(&|$)
# Set a cookie, and skip the next rule
RewriteRule ^ - [CO=mredir:0:www.kyneurosurgery.com]
RewriteCond %{HTTP:x-wap-profile} !^$ [OR]
RewriteCond %{HTTP:Profile}       !^$ [OR]
RewriteCond %{HTTP_USER_AGENT} "acs|alav|alca|amoi|audi|aste|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "dang|doco|eric|hipt|inno|ipaq|java|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-" [NC,OR]
RewriteCond %{HTTP_USER_AGENT}  "maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|opwv" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "palm|pana|pant|pdxg|phil|play|pluc|port|prox|qtek|qwap|sage|sams|sany" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|w3cs|wap-|wapa|wapi" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "wapp|wapr|webc|winw|winw|xda|xda-" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "up.browser|up.link|windowssce|iemobile|mini|mmp" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "symbian|midp|wap|phone|pocket|mobile|pda|psp" [NC]
RewriteCond %{HTTP_USER_AGENT} "iPad"[NC]
RewriteCond %{HTTP_USER_AGENT} !macintosh [NC]
# Check if we're not already on the mobile site
RewriteCond %{HTTP_HOST}          !^m\.
# Can not read and write cookie in same request, must duplicate condition
RewriteCond %{QUERY_STRING} !(^|&)m=0(&|$)
# Check to make sure we haven't set the cookie before
RewriteCond %{HTTP_COOKIE}        !^.*mredir=0.*$ [NC]
# Now redirect to the mobile site
RewriteRule ^ http://m.kyneurosurgery.com [R,L]

As a note, you can double tap the Home button and select the iPod app as that is what I'm doing now. It's not intuitive and you would think if you select Done you'd go back to the folder list in the iPod app.
GM

Similar Messages

  • How to stop iPad from transferring apps to Mac?

    First off, let me state that I have iCloud backups of the most important app data and I don't care that I don't have backups for the rest. I don't care that those apps might one day be gone from the App Store. I don't care about saving my game data.
    What I do care about is that I shouldn't be forced to have a backup of ALL the apps on my iPad/iPhone on my MBP, which didn't come with unlimited storage space.
    I think at one point I was asked by iTunes if I wanted to transfer the purchases to my Mac (or if I wanted to backup the apps? I don't remember) and I foolishly clicked yes. Now, even though I have clicked on "Rest Warnings" multiple times, iTunes still insists on copying all the apps to my Mac without asking me if I wanna do it.
    I saw some suggestions about creating empty folders and stuff but I don't wanna do that. It just doesn't make sense that Apple doesn't give us an option to NOT backup our apps to our Macs. I thought the point of having an App Store where you can download your purchases anytime you want is so that you don't have to keep everything on your Mac.
    Any help is greatly appreciated!
    Keywords: how to stop iPad from copying apps to Mac, how to stop iPad from backing up apps to computer, how to prevent iPad from syncing apps

    I hope you get a solution soon. I've been having this problem too. I under any circumstances don't want my apps on my computer either, I remember when I bought my first iPad iTunes used to have an option to choose whether or not to sync/transfer apps but now its gone and it drives me crazy everytime I want to transfer music. I remember this option was Under the tab "Apps" in the device and under the Apps list. It was a check box like the ones that the Music and other library syncing currently have. But i havent seen it in a while. Apple really screwed this up.

  • How to stop google from defaulting to mobile view?

    how do I stop google from opening up in a mobile view? It only happens when I use firefox.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    *http://kb.mozillazine.org/Resetting_preferences

  • How to stop safari from redirecting you to an app?

    When I'm in safari and I want to click on a link for a website like Amazon or Google Maps, safari automatically redirects me the app without asking if I want to be redirected. Other than just deleting the app entirely from my phone, how do I stop this from happening?

    Specifically, which page is it?
    If the page uses rotating advertising, it could be that the entire page reloads every set interval and not the ad itself (which would be the smart thing to do) and thus forces the browser to be pushed back to the top of the page.
    If the page doesn't use advertising and just refreshes itself for new content every set interval, it could set Safari to the top of the page, too. In short, it seems like the problem is not on your end but rather the website.
    -Ryan

  • How to stop iPad from downloading emails from months ago

    I have a bellsouth.net mail account and my iPad keeps receiving emails from months ago and says I have over 10,000 emails yet to receive. How do I stop this and get only recently sent emails. Help it's driving me crazy,

    Hi-
    Using your account page on your email server, there should be a way to delete all old emails.
    I have mine set to delete automatically after a set time period. In this fashion, all received emails, whatever the device, are only recent mails.

  • How to stop aperture from looking for mobile me?

    I can't access the preferences.  It is stuck on Web and keeps looking for mobile me galleries eventhough I've disabled mobile me under File > Web Accounts.  I've also disabled Facebook...  I can't deselct the automatically check for albums check box....  I just get a spinning wheel and can't select any other preference tabs.

    There are 10-15 threads here in this forum with solutions for this... have a read.
    i.e. here's one:  https://discussions.apple.com/thread/4126429?tstart=0

  • How to stop iPad from demanding ID, passwords repeatedly??!!

    My new iPad with iOS 7.0.2 is "constantly" wanting me to sign in to something!  Usually to iTunes when all I want to do is read a book I purchased!!!  But it seems to demand passwords, ID's, Mail, iCloud (I'm set-up) and anything else.  I keep cnacelling the requests, but they re-appear in about 5 minutes. This is a pain in the you know where!
    I do have the 1Password app installed but it does not function for Apple requests.

    I hope you get a solution soon. I've been having this problem too. I under any circumstances don't want my apps on my computer either, I remember when I bought my first iPad iTunes used to have an option to choose whether or not to sync/transfer apps but now its gone and it drives me crazy everytime I want to transfer music. I remember this option was Under the tab "Apps" in the device and under the Apps list. It was a check box like the ones that the Music and other library syncing currently have. But i havent seen it in a while. Apple really screwed this up.

  • Safari w/ Yosemite: How to Stop Webpages from Displaying in Mobile Friendly Format?

    My Mac is displaying webpages as if I were visiting on my iPhone 6. Is there a way to direct the browser to display the standard site?
    This limits my accessibility quite a bit and the only thing I've found to solve the problem so far is erasing the history. Not a BIG deal, but I would like to find another solution if possible.
    MY STATS:
    MacBook Pro (Retina, 13-inch, Mid 2014)
    OS X Yosemite (10.10.1)
    Safari 8.0.2 (10600.2.5)
    iPhone 6
    iOS 8.1.2 (12B440)
    I use my AppleID to connect both devices and also use Continuity between them.
    Thanks in advance for your help!
    - Tison

        Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        Develop menu will appear in the Safari menu bar.
        Develop > User Agent > Safari 8.0.2  or Other.....

  • I have itunes set up to sync with my Ipod Touch and my Ipad.  As of today, it keeps looking for an iPhone to sync with and give me an error message.  I don't have an iPhone and don't know how to stop it from popping open with this error message.

    I have Itunes set up to sync with my Ipod touch and Ipad.  As of today, iTunes has started searching to sync with an iPhone, which I don't have and pops open with an error message stating it cannot locate the iPhone to sync.  I have looked in devices and only the iPad and iPod Touch are listed.  Any ideas on how to stop iTunes from searching for any iPhone it is never going to find? It is annoying to have it popping up all the time with the error message.  Thanks in advance for any suggestions.

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • How do I stop firefox from redirecting every page I click on in Google search? No matter what I search for in Google when I click on it Firefox redirects me to some other search, sales, or contest page.

    How do I stop firefox from redirecting every page I click on in Google search? No matter what I search for in Google when I click on it Firefox redirects me to some other search, sales, or contest page. I have a security program running, no maleware, adware, or virus on my pc. Thanks for the help in advance.

    Sounds like a dose of search redirect malware or a redirect virus.
    Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
    Also, if you have a search engine re-direct problem, see this:<br />
    http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • How do i get Safari to stop redirecting to mobile sites?

    Mobile websites are a curse, and IMO was one of the main reasons people didn't use the mobile web before the iPhone. Now with the iPhone you can view the actual web (minus flash, which I would really like to see soon, hint hint), without having to deal with these crippled sites, yet most of them still redirect you to their mobile site.
    Someone please tell me there is a way to get safari on the iPhone to stop redirecting to mobile sites without jailbreaking my phone.

    These redirects are controlled by the websites themseives. They figure out if you are on a mobile phone or not and then redirect you to the mobile version.
    The only way to change that is to look for a link on their site that leads to the full version or write the website webmaster asking them for a link to be added.
    There are other ways as well but those aren't supported by Apple so they can't be discussed here.

  • How do I keep my iPhone or ipad from going to sleep while using airplay to my Apple TV ?, How do I keep my iPhone or ipad from going to sleep while using airplay to my Apple TV ?

    With airplay on, how to keep ipad from going to sleep? Same with my iPhone, with airplay steaming to my Apple TV, the phone or ipad will go to sleep. Settings?
    Advice welcome.
    Thank you for your time, Eric

    Yes, that is happening because of the app. Not all apps behave this way. For example, if you use the youTube app with AirPlay the screen will turn off but AirPlay continues. If you use the Netflix app the screen will not turn off and, of course, AirPlay continues.
    The best course with the NCAA app would appear to be to supply power to the iPad and set Autolock to never. Turn the iPad screen intensity down.

  • How to stop Firefox from checking for add-on compatibility every time it opens?

    How to stop Firefox from checking for add-on compatibility every time it opens?

    That can be a problem with the compatibility.ini file in the Firefox profile folder.
    Try to rename (or delete) the compatibility.ini file in the Firefox profile folder to see if that helps.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can also check for problems with preferences.
    Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • How to transfer files from Pc to mobiles?

    HI,
    How to transfer files from Pc to mobiles?
    what are the Methods to do transferring files.
    Sri

    hi
    tell me which type of files u want to transfer
    are they text files or j2me software
    clear it
    R

  • How to eject ipad from imac

    how to eject ipad from imac safely?

    In iTunes, click the eject symbol next to the iPad icon.

Maybe you are looking for

  • How to load data into Planning/Essbase from multiple data column

    Dear All, I have a interface file which contains multiple data column as follows. Year,Department,Account,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec FY10,Department1,Account1,1,2,3,4,5,6,7,8,9,10,11,12 FY10,Department2,Account1,1,2,3,4,5,6,7,8,9

  • # not accepted in permitted characters

    Hello Guys, I am fetching data from CRM wherein an anonymous user enters certain free text. While entering data, if he presses "enter" key then it is getting converted into #. Whereas I have maintained # in RSKC, still the error occurs while activati

  • Problem in Bsp

    hi brian i need a small help from you.i am uploading file into bps web,i followed your pdf guide.it is working fine.in my scenario,i had developed a screen design and in that i wants to incorporate the file upload functinality.when we generate the bp

  • Sub removed from my country - refund question

    Has anyone ever come across a problem with subscriptions and refunds where the magazine was removed from the store before your sub was up? I'm a yearly subscriber to the Newsstand app "Popular Science+".  Recently I noticed that the monthly subscript

  • Select list width and printing output

    Hi, Can anyone tell me how to set the width of a SELECT LIST control? I have tried to set but it is always dynamic and depends on the width of the data items of the list which are supposed to be displayed. Can i fix the width, jsut like simple text f