DirectoryIndex index.php

<IfModule mod_rewrite.c>
RewriteEngine On

# Existing files and folders (css, images, uploads)
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Pretty URLs → front controller
RewriteRule ^(.*)$ index.php?route=$1 [QSA,L]
</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php74” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-alt-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
