Skip to content

Instantly share code, notes, and snippets.

bionic2k / .htaccess
Last active Aug 29, 2015
CI: Simple .htaccess using mod_rewrite for CodeIgniter
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
# !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading
# slashes.
# If your page resides at
# then use
# RewriteBase /mypage/test1/
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
You can’t perform that action at this time.