I want this URL:
http:
not to be redirected.
Here is what I have that doesn't work:
RewriteCond %{REQUEST_URI} !^/path/.*$ [NC] RewriteRule ^ http://m.example.com/ [R,L]
It currently redirects all URLs to http://m.example.com/
Here is the complete code in my .htaccess file:
RewriteBase / RewriteEngine On
regex url-rewriting .htaccess mod-rewrite
Community Sep 18 '13 at 11:42 on 2013-09-18 11:42
source share