HTAccess - no index.php


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



Copy this code and paste it in your HTML
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteRule ^(.*)$ index.php/$1 [L]
  7. </IfModule>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.