title: how to disable htaccess 404 redirection?
body: <p>i have a website that is built in PHP, i am using HTACCESS file to hide the .PHP extention from the users, Now im trying to builg a blog in www.sitename.com/blog, i have created the folder and uploaded the files there. The problem is that when i try to access /blog it redirects me to 404. is there anyway to fix this? </p>
  
  <p>my HTACCESS content is </p>
  
  <pre><code>&lt;IfModule mod_deflate.c&gt;
      #The following line is enough for .js and .css
      AddOutputFilter DEFLATE js css
  
      #The following line also enables compression by file content type, for the following list of Content-Type:s
      AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml
  
      #The following lines are to avoid bugs with some browsers
      BrowserMatch ^Mozilla/4 gzip-only-text/html
      BrowserMatch ^Mozilla/4\.0[678] no-gzip
      BrowserMatch \bMSIE !no-gzip !gzip-only-text/html 
  &lt;/IfModule&gt;
  
  &lt;IfModule mod_headers.c&gt;
  Header set Connection keep-alive
  &lt;/IfModule&gt;
  
  ErrorDocument 404 /404.php
  
  &lt;ifModule mod_gzip.c&gt;
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
  &lt;/ifModule&gt;
  
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^([^\.]+)$ $1.php [NC,L]
  
  RewriteCond %{HTTP_HOST} ^www\.vartag\.com$ [NC]
  RewriteRule (.*) http://vartag.com/$1 [R=301,L]
  </code></pre>