Htaccess File


# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

<IfModule mod_rewrite.c>
  # Turn on URL rewriting
  RewriteEngine On

  # !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading slashes.
  # If your page resides at then use
  # RewriteBase /mypage/admin

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L]
Exit mobile version