I have a problem with my .htaccess file. I will add any time a parameter with the current domain. It does working for https://example.com/page but not for https://example.com/
My current .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?domain=%{HTTP_HOST}&page=$1 [L,QSA]
I've already tried with .* and . in the RewriteRule instead of ^(.*)$