This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mod_rewrite_rules# | |
| #This is placed in the htaccess folder. Any lines biginning with the pound sign in it is ignored | |
| RewriteEngine On | |
| # If the user is asking for the fullsite, set a cookie, remove the query, and stop. | |
| RewriteCond %{QUERY_STRING} ^fullsite$ | |
| RewriteRule ^/?(.*)$ http://domain.com/$1? [L,CO=fullsite:yes:.domain.com] | |
| # If the user is asking for the mobilesite, set a cookie, remove the query, redirect and stop. | |
| RewriteCond %{QUERY_STRING} ^mobilesite$ |