I have in my log some URLS like:
http://www.mysite.com/mypage/?fb_xd_fragment=
I want to redirect this URL to
http://www.mysite.com/mypage
How can I do it?
Use this rule:
RewriteEngine On
RewriteCond %{QUERY_STRING} fb_xd_fragment=
RewriteRule (.*) http://www.domain.com/$1? [R=301]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With