Files
mainty/example.htaccess
2025-11-03 11:04:46 -08:00

15 lines
438 B
Plaintext

RewriteEngine On
#if this is in a folder, edit this. example.com/mainty/ would be /mainty/
RewriteBase /
# Redirect to HTTPS (optional, uncomment if needed)
# RewriteCond %{HTTPS} off
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Don't rewrite files or directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite everything else to index.php
RewriteRule ^(.*)$ index.php [L,QSA]