?code=XXXX
, what I need is that the site works in a hybrid way, both with the friendly URL and using the $_GET
, similar to the following URL: site.com/dashboard/principal?code=XXXXXXXX
I have almost no knowledge in the configuration of this .htaccess so if anyone can give me a light I appreciate it.
This is my current .htaccess
:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?dados=$1 [L]