htaccess redirect depending upon screen resolution

Posted on 2007-09-30
Last Modified: 2008-01-09
is there any rule that we can use in htaccess to redirect users depending upon their screen resolution??
Question by:SadafRasheed
    1 Comment
    LVL 50

    Accepted Solution

    Yes, but you would first have to send it to a loader page which sets a cookie.  The screen resolution is not known until the HTML level.  Apache does not really have awareness of the client.  If you send all connections through your front door first, the front door page can identify the resolution and place a cookie.  The next page to load will have that information available.

    At the the Apache level, you will probably need to use mod_rewrite to handle this.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
    It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now