I’m having problems with my URL. My urls are modrewrited and until now I didn’t know that I can access stuff in url only when there is & ( question-mark with $_GET don’t work ).
So for example http://www.example.com/?go=1 $_GET[‘go’] not 1 But if I make
it like this http://www.example.com/&go=1 then it works.
I want question-mark to work. What am I missing?
here is my .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?s=$1 [L]
You could use the QSA flag: