I used Facebook social login for my website and when it happens in the final step facebook redirects to my website with a appended ID. So my URL looks like below.https://example.com/#_=_
. I need to remove this and redirect to my website without this hash ID.
Need to do this in the htaccess. But everything I've tried failed.
Below I've tried.
RewriteRule ^#_=_(.*)$ https://example.com [R=301,L]
RewriteRule ^#_=_()$ https://example.com [R=301,L]