Send parameters via GET in a friendly URL

0

I have a page that friendly URL is something like this: link

And the real URL looks like this: link

I'm using IIS to develop, so I set up the friendly URLs in web.config. When accessing this page: link

It works correctly, the friendly URL works, and the parameter "q" appears correctly in my PHP programming.

However, when I send to the Linux server, where the friendly URLs are configured in htaccess, the same URL: link

It even works by loading the right page, but I can not retrieve the "q" parameter. Does anyone know why?

In htaccess the rule is configured as follows:

RewriteRule ^([a-z]{2})/produtos(/?)$ /site/produtos/index.php?idioma=$1 [NC,L]
    
asked by anonymous 08.01.2018 / 20:22

1 answer

0

Is that in RewriteRule already delimiting the url with the '?'. Try using this URL with '&':

link

Hugs!

    
08.01.2018 / 20:26