title: .htaccess - how to force "www." in a generic way?
body: <p>This will change <code>domain.example</code> to <code>www.domain.example</code>:</p>
  <pre><code># Force the &quot;www.&quot;
  RewriteCond %{HTTP_HOST} !^www\.domain\.example$ [NC]
  RewriteRule ^(.*)$ `http://www.domain.example/$1` [R=301,L]
  </code></pre>
  <p>How do I replace the &quot;domain&quot; part so that this works on <em>any</em> domain?</p>