title: Rewriting rule modification when moving wordpress host
body: <p>I have a local Wordpress website stored in <code>localhost/wpdeal/</code> and it's working well, here's the content of it's root <code>.htaccess</code> file :</p>
  
  <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /wpdeal/
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /wpdeal/index.php [L]
  &lt;/IfModule&gt;
  # END WordPress
  </code></pre>
  
  <p>When I moved the website to an online host (GoDaddy Windows Parallels Plesk) with <code>"mydomain.com"</code> and changed the .htaccess file accordingly to :</p>
  
  <pre><code>Options +FollowSymLinks -Multiviews
  RewriteEngine on
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  </code></pre>
  
  <p>I'm getting a <code>404 error</code> when I try to access to the website pages except for the home page. Is something wrong with my new <code>.htaccess</code> file? Did I miss something else? It's been many hours that I'm struggling with that issue so any help will be highly appreciated!</p>
  
  <p><strong>Update:</strong> I've added a PHP script that check if mod_rewrite is enabled by the server :</p>
  
  <pre><code>&lt;?php 
   if(!empty($_SERVER['HTTP_MOD_REWRITE'])){
       echo "Mod_Rewrite is running";
       } else {
       echo "Mod Rewrite is not running";
   }
  ?&gt;
  </code></pre>
  
  <p>The response is : "Mod Rewrite is not running" .</p>