wordpress rewrite rule need fix

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 –

Read More

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 & ..

Related posts

Leave a Reply

1 comment