.htacces - clean urls


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Follow symbolic links in this directory.
  2. Options +FollowSymLinks
  3.  
  4. <IfModule mod_rewrite.c>
  5.  
  6. RewriteEngine On
  7.  
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-d
  10. RewriteRule (.*) index.php?path=$1 [L,QSA]
  11.  
  12. </IfModule>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.