How can I rewrite everything after the domain name into get if it is not already get?
For example : example.com/blah/blah.blah
will become example.com/?blah/blah
Quite simply use variable %{REQUEST_URI} as a query parameter:
%{REQUEST_URI}
Options +FollowSymlinks -MultiViews RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/index.php$ [NC] RewriteRule . /index.php?%{REQUEST_URI} [L,QSA]