I do have a question regarding htaccess. I am trying to do the following:
blabla.com/lala and blabla.com/lulu
lala and lulu are my variables (showing different content on both sites, but it is the same file (example.php).
So what I did in htaccess is:
RewriteRule ^([^&]+)$ example.php?type=$1
But when echoing GET[type] I just get the filename("example.php"). But I want it to show "lala" or "lulu".
It works when I do it like that:
RewriteRule ^blablabla/([^&]+)$ example.php?type=$1
But I just don't need "blablabla" :D
Thanks in advance :)