title: url rewrite in htaccess file goes to 404 Page Not Found
body: <p>Following is my full .htaccess file. it works fine in local host. But it goes to 404 page not found in shared hosting. can anybody help me to solve this issue</p>
  
  <pre><code>RewriteEngine On 
  
      RewriteBase /
  
  
      RewriteCond %{THE_REQUEST} /index\.php\?search_location=([^\s&amp;]+)&amp;search_for=([^\s&amp;]+)&amp;search_type=([^\s&amp;]+)&amp;page=([^\s&amp;]+) [NC]
      RewriteRule ^ %1/%2/%3/%4? [R=302,L]
  
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^([A-Za-z0-9-+]+)/([A-Za-z0-9-+]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$index.php?search_location=$1&amp;search_for=$2&amp;search_type=$3&amp;page=$4 [L,QSA]
  </code></pre>