Permalink
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (13 sloc) 448 Bytes
# Turn on URL rewriting
RewriteEngine On
## Installation directories
## Localhost with directory ##
RewriteBase /go-cms/
Redirect 301 /go-cms/index.php/home http://localhost/go-cms/home
## Production ##
# RewriteBase /
## Allow any files or directories that exist to be displayed directly ##
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php?/$0 [L,PT]