Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6576653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:32:21+00:00 2026-05-25T15:32:21+00:00

I have a site w/ a simple .htaccess rule that checks if the user

  • 0

I have a site w/ a simple .htaccess rule that checks if the user is on a mobile browser and if so redirects them to our mobile site. problem is – if they decide they want to go to the regular site (and click a link that takes them there) they will eventually get back to the mobile site, b/c our .htaccess rule will catch them and redirect.

Is there an easy way, w/out modifying to much code that will allow them to “persist” on a regular site even though they have a mobile browser?

if thats not possible – is there a simple minimal solution to make this work in the code?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:32:21+00:00Added an answer on May 25, 2026 at 3:32 pm

    What I do is provide a link to the full-site on the mobile site. When the link is tapped, I set a cookie [with a very short lifetime] that lets the regular website know not to redirect.

    The redirect to mobile is handled by PHP, not htaccess, on the regular site. The PHP checks for the cookie, and if not found, redirects to the mobile. The regular site also provides a link to the mobile site that destroys the cookie.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm using Moscow ML combined with CGI. I have a site that calculates simple
I have a simple web site ( http://www.kousenit.com/twitterfollowervalue ) that computes a quantity based
I have developed a simple site that fetches tweets from the Twitter public timeline,
In my site i have links like that: www.mysite.com/loja/product_info/products_id/1301 I simple want to server
We all know that wordpress have simple .htaccess code like below RewriteEngine on RewriteBase
I have built a simple site that allows users to share code where the
Imagine that you have a simple site with only 2 pages: login.aspx and secret.aspx.
I have simple html site. how I can fix the problem 'The requested URL
I have a simple site which allows users to upload files (among other things
I have a site with this simple structure: \public_html {files}.php \files \es For the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.