Htaccess File

iwansusanto/jurnalrumah/master/frontend/web/.htaccess

HTTP_HOST, REQUEST_FILENAME
# use mod_rewrite for pretty URL support
RewriteEngine on

# aktifkan ini saat online, agar redirect dari non www ke www
# RewriteCond %{HTTP_HOST} !^www.
# RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

# if a directory or a file exists, use the request directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward the request to index.php
RewriteRule . index.php
Exit mobile version