CMSMadeSimple .htaccess


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



Copy this code and paste it in your HTML
  1. #CMSMadeSimple
  2. #php_flag magic_quotes_gpc Off
  3. #php_flag register_globals Off
  4. #php_flag session.use_trans_sid Off
  5. # Make sure you have Options FollowSymLinks
  6. # and Allow on
  7. RewriteEngine On
  8. #Rewrites page.shtml as index.php?page
  9. RewriteCond %{REQUEST_FILENAME} !-f [NC]
  10. RewriteCond %{REQUEST_FILENAME} !-d [NC]
  11. RewriteRule ^(.+)$ index.php?page=$1 [QSA]

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.