I’ve got a RewriteRule like this:
RewriteRule ^thesection$ /sections.php [L]
RewriteRule ^thesection/(.*)$ /sections.php?show=$1 [L]
so, if I enter domain.com/thesection -> it works perfect
but!, if I enter domain.com/thesection/hello it redirects to domain.com/thesection?show=hello
I don’t know what I’m doing wrong and I’ve spent hours googling. Please help!
Thanks in advance
Try this and let me know
this will redirect
domain.com/thesection/hellotosections.php?show=hellothe QSA flag means:
so you can add more parameters eg:
http://www.domain.com/thesection/hello/?page=1this will output: