Posted By

ryarwood on 06/13/12


Tagged

server htaccess apache


Versions (?)

Remove HTML from files


 / Published in: Other
 

  1. RewriteEngine on
  2. RewriteCond %{REQUEST_FILENAME} !-d
  3. RewriteCond %{REQUEST_FILENAME}\.html -f
  4. RewriteRule ^(.*)$ $1.html

Report this snippet  

You need to login to post a comment.