0

I have the following code in my .htaccess

RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?type=Navigation&action=$1

so, when someone types:

http://localhost/show-site

it goes to:

http://localhost/index.php?type=Navigation&action=show-site

i want to know if yo can modify the .htaccess in a way that when someone types:

http://localhost/show-site?extravar1=a&extravar2=b

it goes to:

http://localhost/index.php?type=Navigation&action=show-site&extravar1=a&extravar2=b

Raul Leaño Martinet
  • 2,035
  • 6
  • 28
  • 44

0 Answers0