RewriteEngine On

# Define the base URL for the rewrite rules
RewriteBase /

# Ensure that the rewrite module is enabled
<IfModule mod_rewrite.c>
    # Redirect all requests to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
