I am trying to use the following lines in my htaccess file:
#RewriteRule ^([^.]+)/(.*)$ /index.php?page=$1&extra=$2 [L]
RewriteRule ^([^.]+)/?$ /index.php?page=$1 [L]
The second line does exactly what needs to be done. The first one, as soon as I uncomment it, ruins all relative info on my website.
I do not want anything difficult. Just want to use friendly url's to pass some info which I can then use to include stuff.
The "level" where I am browsing at, should not ever be deeper than root level.
I hope this makes some sense. Not very good in explaining this I think.