I'm in need of a rewrite code, which I have, but it's not working as expected/needed.
What I need to do is rewrite
Which works, but also, it needs the ability to contiue this pattern further, so i could do
Below is my existing code, I read that the QSA flag might be needed? But also, my example has predefined variable names, can it be done without knowing the variable names?
RewriteRule ^([^/]*)/$ /index.php?var1=$1