- Code: Select all
RewriteCond %{HTTP_HOST} !^(www\.) [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
adds the www. to a domain, but..what does the "^" mean after RewriteRule ?
RewriteCond %{HTTP_HOST} !^(www\.) [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Users browsing this forum: Majestic-12 [Bot] and 35 guests