title: .htaccess redirect non-WWW to WWW
body: <p>I'm trying to create .htaccess that will:</p>
  
  <ol>
  <li><p>redirect all non-WWW url to WWW</p></li>
  <li><p>redirect some spesific slugs to spesific pages</p></li>
  <li><p>redirect all other slug (that no in the "spicel" to page.php?id=)</p></li>
  </ol>
  
  <p>that what i use:</p>
  
  <pre><code>RewriteEngine On 
  RewriteCond %{REQUEST_FILENAME} !-f 
  RewriteCond %{REQUEST_FILENAME} !-d 
  RewriteCond %{HTTP_HOST} !^www\.example\.co\.il
  RewriteRule (.*) http://www.example.co.il/$1 [R=301,L]
  ErrorDocument 404 /404.php 
  RewriteCond %{REQUEST_FILENAME} !-f 
  RewriteCond %{REQUEST_FILENAME} !-d 
  RewriteRule ^צרו-קשר$ /contact.php [L] 
  RewriteCond %{REQUEST_FILENAME} !-f 
  RewriteCond %{REQUEST_FILENAME} !-d 
  RewriteRule ^/?([^/]+)$ /page.php?id=$1 [L]
  </code></pre>
  
  <p>The url example.co.il not redirect wo www.example.co.il. What am I doing worng?</p>