Hai all,
I have a small question about modrewrite
At the moment I have it all working but don't know if this is the right way
I have two url's
index.php?quiclink=something and
actueel.html?some-text&artikelenID=1&print=true
In my htaccess I have the following rules
RewriteRule ^$ home.html
RewriteRule ^([0-9a-zA-Z\]+)-([0-9a-zA-Z\-]+)-([0-9]+)\.html$ index.php?quicklink=$1&artikelenID=$3\&%{QUERY_STRING}
RewriteRule ^([0-9a-zA-Z_\-]+)\.html$ index.php?quicklink=$1\&%{QUERY_STRING}
This works as expected. But on this forum I see that most of the time [QSA,L] is being used at the end of the rule. So what will be the best way ? And what is the difference ?
RewriteRule ^([0-9a-zA-Z\]+)-([0-9a-zA-Z\-]+)-([0-9]+)\.html$ index.php?quicklink=$1&artikelenID=$3 [QSA,L] or
RewriteRule ^([0-9a-zA-Z\]+)-([0-9a-zA-Z\-]+)-([0-9]+)\.html$ index.php?quicklink=$1&artikelenID=$3\&%{QUERY_STRING}
Thanks for the help