alideny/FlameCMS/master/.htaccess - Htaccess File

alideny/FlameCMS/master/.htaccess

# Page Error
# ErrorDocument 404 404

Options +FollowSymLinks
RewriteEngine On

# PHP redirect if any.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php [L,QSA]

## Enable Apache mod_rewrite to rewrite the URL
RewriteEngine On

## Friendly URL of Articles
RewriteRule ^blog/(.+)/(.+)$ article.php?id=$1&title=$2 [QSA]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache