<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    Options +FollowSymlinks
    RewriteEngine On

    # Disable force HTTPS on localhost (optional - breaks local dev)
    # Uncomment this only if SSL is enabled in XAMPP
    # RewriteCond %{HTTPS} !=on
    # RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

    # Redirect requests for real files or directories
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^ - [L]

    # Redirect everything else to index.php
    RewriteRule ^ index.php [L]
</IfModule>

# Don't include cPanel-specific PHP ini settings on localhost/XAMPP
# Remove these as they do not apply to XAMPP
