Hello, I have a problem. I use .htaccess for rewriting links. But, I can't get it work with $_GET together. example: domena.sk/index.php?var1=stranka&var2=neco Code (markup): rewrites to domena.sk/stranka/neco/ Code (markup): I want to use it with $_GET domena.sk/stranka/neco/?something=nic Code (markup): And than I want to get $_GET value $_GET['something'] Code (markup): via PHP. Is there any solution for this?
That would append both variables to the end of the new rewritten URL. You will want just the second var, the one that PHP uses.