Apache server configuration directives: .htaccess for redirect for mobile browsers else redirect requests to www version of site
$30-100 USD
Completed
Posted over 12 years ago
$30-100 USD
Paid on delivery
This should be an easy script to write for .htaccess file for the write person that is a pro at regular expressions.
The .htaccess file should do the following:
look for mobile browsers and redirect to [login to view URL]
ELSE
redirect to [login to view URL] (including all [login to view URL] goes to [login to view URL])
EXCEPT FOR
when a mobile browser choose to view the regular [login to view URL] via a cookie setting. I believe this can be checked in the .htaccess file.
This is what I need. Should be pretty simple for the right person.
KEEP IN MIND: this is for a Ruby on Rails application running the [login to view URL] apache module. Although your code for .htaccess should not be dependent on the application code (I will set the cookie via the application ) just wanted to let you know environment the code will interact with.
Should be a non issue.