Redirecting between a desktop-browser site and a mobile site

My company is inheriting a site built by another party in CQ5. This site is intended to be viewed on a desktop browser. We are tasked with building a mobile site for it. Our creative department would like the user's browser to be detected, and if the user requests a page on the desktop site from a mobile browser, they would be redirected to the mobile site. Is there any way to do this on the server side without disabling caching on the site?

true
nevertheless, you need it in places for uncached requests. additionally you have the options of:
- javascript redirect (allows you to build an "opt-out" for the user, i.e. the user wants to stay on desktop regardless of mobile device, via cookie)
<script language=javascript>
<!--
if (navigator.userAgent.match(/mobile/i))
   location.replace("http://mobile.myurl.com");
-->
</script>
- apache configuration redirect
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^.*(mobile).*$ [NC]
RewriteRule ^$ http://m.example.com/ [L,R=302]
</IfModule>
dom.

Similar Messages

  • I just updated to Firefox 4 and my Roboform toolbar disappeared. Following the instructions on your site and Roboform's site did not help. It doesn't appear in the Customize Toolbar window nor in the Extensions list. How can I get it back?

    I followed the instructions on your site and Roboform's site, but Roboform doesn't appear in the Customize Toolbar window nor does it appear in the Extensions list. How can I get the Roboform Toolbar back?

    Here's an interesting bit: iTunes will let me restore my iPod touch from backup: it's still running iOS 4.3.3. I figured as much... there's backups showing in the Preferences -> Devices list for both devices (and even my old, long gone iPod touch 2G), but my iPhone (on iOS5) isn't giving me any such option. I remember I had to downgrade before to get the backup restored (something went haywire in the setup assistant, and I couldn't restore a backup from iTunes there)... If it was possible to go to iOS 5.0 rather than 5.0.1 I would just do the same thing again, but iOS 5.0.1 isn't an option. I attached a screenshot. Hopefully Apple can get this nonsense sorted out; I think iOS 5 might be the root of this, somehow.

  • When using google I am transferred to other web search sites and not the sites I am clicking on.

    While using Google I am being connected to other search sites and not the sites I am clicking to go to.
    == URL of affected sites ==
    http://

    It has nothing to do with Firefox -- it sounds like the sites you're trying to go to are already taken down. If that's the case, try clicking the Google's results' "Cached" button, or just try the other results Google gave you.

  • I pad keeps going to USA sites and not UK sites how do I fix this

    I pad keeps going to USA sites and not UK sites how do I fix this

    Mcdeezer,
    It was my pleasure.  It's always nice to share info with the good folks of the UK.

  • When i get to the site it always pulls up the full site instead of mobile site

    WHEN I FIRST DOWNLOADED FIREFOX ONE OF THE MAIN REASONS WAS BECAUSE IT WAS BASICALLY A MOBILE INTERNET AND STUFF MOVED FASTER. BUT NOW EVERYTIME I GET ON IT AUTOMATICALLY GOES TO THE FULL SITE AND NOT MOBILE ANYMORE. AND I DONT KNOW WHY NEED HELP.

    Hi Kthomasg1,
    I'm sorry you are having this problem. It sounds like you are having trouble with a particular site, or is it every web site that you view with Firefox mobile?
    Thanks,
    Michelle

  • SCCM 2012 Replication between Central Admin Site and all Primary Sites is failing

    Let me start by saying I have made a mistake and now I am paying for it and attempting to fix it. All of our SCCM servers are virtual and exist on an ESX environment. The mistake I made is I restored our Central Admin Site from a backup without also
    restoring the two Primary Sites at the same time. Now the databases between the sites simply refuse to synchronize. I can run the Replication Link Analyzer until I'm blue in the face and even though the data gets replicated once, the replication immediately
    breaks and fails after that.
    Regrettably I no longer have access to backups that would take me back to a point where the three servers were happy. The problem there is our ESX administrator only keeps a limited number of backups per server (we have in excess of 180 virtual servers in
    our ESX environment) and the backups from a point in time where they worked is no longer available.
    As I have said I have tried running the Replication Link Analyzer many times. I have also tried going into the SQL server console and running the stored procedure spDrsSendReplicationInvalid.
    Can anyone provide me with any assistance on how best to restore replication between the Central Admin server and the two Primary servers?

    http://blogs.msdn.com/b/scstr/archive/2012/05/31/how_2d00_to_2d00_site_2d00_server_2d00_recovery_2d00_central_2d00_or_2d00_primary.aspx
    Just an addition: the option called "Recover central administration site:
    Then specify the FQDN of a
    Reference primary site" is the one to try first.
    Torsten Meringer | http://www.mssccmfaq.de

  • How can i view full websites and prevent mobile sites loading?

    I have an HTC desire HD when I view a website using FireFox mobile I get the mobile version of the web page. I would like to disable this and get the normal version of the web page. As most of the time the mobile pages do not have all the same features as the full page. I could do Thor with my previous mobile browser.

    If you want to appear to be a desktop browser install the Phony extension. Open the preferences and set the user agent to Desktop Firefox
    https://addons.mozilla.org/en-US/mobile/addon/phony/

  • Move Internet facing site and remove Exchange site

    Background:
    I am running Exchange 2010 in native mode
    I have multiple AD sites connected via WAN
    I have two sites each with an Exchange CAS, HT, Mailbox server and internet connections
    I have one Edge server in the DMZ at the internet facing site A
    All mail currently flows in/out through site A via connectors
    OWA is currently hosted on the CAS/HT server at site A
    I have installed a new Edge server in the DMZ of site B and cloned the configuration.
    I am planning the move of the internet facing site to the new site where the other Exchange CAS/HT server resides.
    Once the mail flow is occurring correctly in/out site B, I need to move all mailboxes to site B and shut down the Exchange server at site A. 
    Questions:
    When I create the Edge Subscription at the new site, it offers to create a new send connector.  The CAS/HT server at site B already has a send connector to site A.  Will the new send connector cause mail flow problems if it is pointing to
    the new Edge server that is not yet updated on public DNS?  I am trying to do this in stages and I am not ready to change mail flow to site B internet.
    What needs to happen to move OWA to the Exchange server at site B?
    Once site B is handling OWA, all mail flow, and all mailboxes have been moved to that site, can I simply shut down the site A Exchange server?
    Thanks for any input on how best to plan this move.  If there is any documentation for this specific scenario, I work well from instructions but have not seen anything on the internet.

    1.  Sending can happen from both sites, regardless of where your MX records point.  In fact, you don't need an MX record to send email - just to receive.  So the new send connector in Site B won't cause issues with mail flow - messages will
    go out B and come in A until you rehome your MX record.
    2.  In order to move OWA to Site B, your external records for your OWA site need to point to the external IP address that will connect to the Site B CAS (and hopefully, you have it behind a firewall of some sort).
    3.  Not quite - you need to move your OAB generation to the new site, and make sure that all CAS virtual directories in the new site are configured to handle the connections that currently go to Site A.  See the following for what you need to do
    to decommission your Site A Exchange servers - but where it says "Exchange 2013", think "Site A Exchange servers": 
    http://technet.microsoft.com/en-us/library/ee332361(v=exchg.141).aspx

  • Auto loading of username and password are taking place on one site and only one site and I do not want this to happen but can"t get it to stop.

    As my question states I don't want auto loading on any site and it only happens on this one site. I have went thru tools and options and there are no sites listed for auto loading. There are no saved passwords. If I go to the site using Internet explorer the problem does not occur.

    Ok, no problem i found this help articles:
    https://support.mozilla.org/en-US/kb/how-clear-firefox-cache
    http://www.youtube.com/watch?v=OukBlXfOP8Y

  • I am trying to make a second website in iweb, I click 'new site' and select the site style, but it keeps opening my existing website.  Any ideas?

    I am trying to make a second website in iWeb.  I have clicked 'new site' and then selected a style for the website, but then my existing website opens instead of a new one.  Any ideas how to fix this?

    Do you not get a new site folder at the left under your existing site?
    OT

  • In app browser takes you to mobile site.

    I have set up web links in my magazine, but when you use these on an iPad it takes you to the mobile site rather than the full web site. Is there anyway to overide this so you always get taken to the full website. (Examples: Facebook pages and Twitter).
    Thanks.

    None I know of. Additionally, it's a good idea to use the links to mobile if you're using the web content overlay.
    Bob

  • I downloaded Office for Mac 2011, and almost immediately my Yahoo email stopped working, most images were disabled throughout my internet sites, and my bank site reported that I was using a "new computer," which is not true. How can I get my email to work

    I have an iMac version 10.6.8/2.66 GHz Intel Processor and 4 GB memory, with Safari 5.1.10. I had used Office for Mac 2008 but had to upgrade for work. The download (from Amazon) went swiftly, but when I started Word, it did not function too well. Then about an hour later I noticed that my Yahoo email site stopped working, it lost all images and the text just jumbled up on the left side of the screen. No amount of emptying caches or resets/quits/restarts did anything. I called the Internet support, and they just said it was my iMac that had the problem. I have been reduced to using MacMail as my email, but this is tenuous, as my Yahoo account keeps holding things up and constantly asking me for my password (and sometimes it does not accept it). How can I get my computer back?

    The path may be long and tedious, grasshopper.
    Actually, the download of Office 2011 for Mac probably was not legal and may have contained bugs or other things meant to make it unstable, or invite a host of issues. The usual path would be Office 2011 for Mac on DVD so you could reinstall it and add the extras from the disc as needed; or fix the installation later on. The updates for security were downloads from Microsoft servers. You'd need a legitmate version with pass code.
    Options for Mac and office-like application suites include Libre Office, NeoOffice, and these run free. The latter supports up to Mavericks. 10.9.1 now. They have a word, excel, and other parts a lot like the real office.
    If you have a working clone of the system prior to installing the Office 2011 for Mac download and any subsequent and perhaps unseen extras, you could revert to it simply by restarting the computer from the clone, where it resides in externally enclosed self-powered hard disk drive, of a type known to support OS X clones... With ports to help work with most modern Macs. FireWire + USB. Then, clone it back w/ carbon copy cloner.
    Short of that, perhaps someone will see your post and offer some indepth method of hunting down bugs via use of Console logs; and maybe booting into Terminal utility to use unix code. It can be rather involved. Maybe Linc Davis will offer some detailed reply that will invite you to read carefully and try it.
    I've given up using computers long ago.
    A pet raven has been taught to write this.
    Good luck & happy computing!

  • Allow/Block dialog comes up even when sites are in Trusted Sites and/or Intranet sites.

    I have an issue where a user is prompted with an "Allow or Block" dialog everytime she clicks a link within a company created PDF.  The links all go to intranet sites, which are defined in the intranet section, and even placed in tnhe Trusted Sites as well.  How can I stop this dialog from popping up each time?
    Software versions in play are:
    Acrobat X
    Windows 7
    IE 9
    TIA for any assistance.

    Please be more specific.
    How are the servers defined in the Trust Manager and the OS Internet Options Control Panel?
    http://mycompanyserver.mycompanyname.com
    But does the link in the PDF file look something like this:
    http://mycompanyserver/pathtothePDFfile/thePDFfile.pdf
    If so, then Acrobat and Windows are probably not seeing it as the same server.  The FQDN (Fully Qualified Domain Name) is not defined as the same server.
    The same would be said for a server that had "https://" in front of the URL.  It's not considered the same server because it exists on a different port number.  Usually 443 for https.

  • Desktop site logs into the mobile site on 7 and 10 tablets?

    In the past few months I have noticed that every time I log into the community from a tablet (7 inch or a 10 inch), the login page loads the mobile site when I originally started with the desktop view. The only way I could prevent it is to set the check box "request desktop site" beforehand. Once I'm logged the desktop view will stay from the bookmark until I report the first post in a thread to the Moderators for review. If I don't have check box for desktop activated before, the report script loads the mobile site instead. This didn't used to happen. For most of the year since the last forum "update" the desktop view would load all the time on the tablets. If I wanted the mobile site, I would be reading the forum from my phone not my tablet. The 10 inch tablet would easily be able to use the desktop view effectively has it has a similar screen size to some of the smaller netbooks and chromebooks available. Yet this site loads the mobile site which is nowhere near as powerful or useful as the desktop view.
    Has anyone else seen this behavior on the login switch or reporting posts?
    This isn't the first odd thing I have seen occur in the past year. Many of those things still happen on here. It would be nice if some of these things got fixed.

    Yep, A BUNCH OF CRAP!!!!
    They are forcing us to "THE COMMUNITY" in the hopes that someone in "THE COMMUNITY" is smart enough to have figured out a BLINKIN' ANSWER INSTEAD OF HIRING AND TRAINING THEIR OWN FRIGGIN' SUPPORT STAFF!!!!!!!!!
    As Ann154 indicated - NO FRICKIN' SUPPORT here!!!!!!
    Apparently they are willing to force all these **** changes on us and have us figure them out.
    No one here (including me) apparently wants any of these new MOBILE 'hybrid' apps on our desktops and/or tablets - BUT WE SEEMINGLY HAVE NO CHOICE except to switch carriers.
    This is why I have not renewed my multi-phone contract because my intent very soon is to bail for Sprint or T-Mobile - their coverage "IS GOOD ENOUGH" for us to use.
    First, Verizon Fios forces this recent USER INTERFACE on us with the crappy colors that MANY people actually do believe is horrible. --- And next, they push this MOBILE interface on ALL OF US as if we ARE ALL DOPPIE teenagers without a full brain.
      This kind of activity causes even more attrition, more folks leaving their subscriber base - what a waste.

  • Why does my mobile site only display in the iPhone and not the Samsung Galaxy?

    Hi,
    I created a mobile version of my Muse site. After publishing it to the temporary Catalyst site, I went to view it on my Samsung Galaxy Victory; it displayed properly the first couple of times I viewed it. Then I made some changes and re-published it and I can only see the desktop version on my phone. I tested it on my co-worker's iPhone and the mobile site displayed correctly on her phone.
    Any insight??
    Thanks,
    Myriam

    Hi Myriam,
    This is most likely the browser cache and cookie issue on your mobile browser. Please clear the browser cache as well as delete the cookies and then try.
    Cheers!
    Aish

Maybe you are looking for

  • My HP Deskjet 3520 will not print in black after replacing cartridge

    I have just replaced all my ink cartridges in my HP DESKJET 3520 printer (it's wireless).  It prints in color fine, but not in black.  I've tried cleaning the print head, aligning the cartridges, checking the breather on the cartridges.  I've also ju

  • Memory problem on my e3500

    Hi all, I've a problem on this e3500 server, I had several reboot without printing anything in messages. Now I found something, I think it's not cpu19 involved (score05 and syndrome not equal to 0x3), I suppose it's fault of 2 memory slot on board 7

  • Form layout

    what are the components of form layout?

  • Exporting final cut project

    I would appreciate assistance in exporting a final cut project to a dvd to be edited on another computer equiped with final cut by someone else.

  • Need phone # for help

    Need phone # for help