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]