I have this rule in my .htaccess file:
RedirectMatch 301 ^ / browser-sync / browser-sync-client.js /?
that I use to redirect this: /browser-sync/browser-sync-client.js?v=2.18.13
After searching the web, I found information that said to add "?" the redirection to remove the query string. Now the query string is removed, but the? remains. How can I delete both the query string and the ?.
Currently, the redirection above does this: http://somedomain.com/?
I just want him to redirect like this: http://somedomain.com/