AlbertMorenoDEV/accounting/master/public_html/.htaccess - Htaccess File

AlbertMorenoDEV/accounting/master/public_html/.htaccess

RewriteEngine On
RewriteBase /

#only for the root directory
RewriteCond %{REQUEST_URI} ^/$
#if the uri is not already index.php
RewriteCond %{REQUEST_URI} !^/index.php [NC]
RewriteRule ^$ /index.php    [R=301,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache