How to remove a specific string from URL in .htaccess file.
For example my root URL is www.example.com. If someone puts www.example.com/# , it should redirect to root URL.
I have tried with
RewriteEngine on
RewriteBase /
RewriteRule ^#/(.*) /$1 [R=302,L]