Hello I have this rewrite Rule at my WordPress
RewriteRule ^trip/(.*)/$ /index.php?page_id=143&trip=$1 [L]
Its working but I have this problem.. when I enter page called –
http://example.com/trip/22/?lang=en
the $_GET[‘lang’] doesn’t work.
I suppose that the url is becoming something like
/index.php?page_id=143&trip=22?lang=en
which doesn’t work..
Can some one advice me how to replace the question mark from ?lang=en
with & ..
I think you just need the QSA flag.