Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- 301 Canonical redirect - non-www to www but it messes with subdomains


hottrout - 5:03 pm on Aug 1, 2011 (gmt 0)


OK, so why is the original form

RewriteCond %{HTTP_HOST} !^(www\.example\.com)?$ [NC]

and not just

RewriteCond %{HTTP_HOST} ^example\.com?$ [NC]


Thread source:: http://www.webmasterworld.com/apache/4345202.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com