Htaccess File

AlphaRecon19/website-template/master/.htaccess

REQUEST_FILENAME
# stop listing directorys
Options -Indexes

<IfModule mod_rewrite.c>
RewriteEngine On

# if requested url does not exist pass it as path info to index.php
RewriteRule ^$ index.php? [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?q=$1 [QSA,L]
</IfModule>
Exit mobile version