Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

RedirectMatch Strip Trailing ? From Redirect

Hello,

I have this rule in my .htaccess file:
RedirectMatch 301 ^/browser-sync/browser-sync-client.js /?

which I'm using to redirect this: /browser-sync/browser-sync-client.js?v=2.18.13

After searching the web, I found info which said to add "?" to the redirect to remove the query string. Now, the query string is removed, but the ? remains. How can I remove both the query string and the ?.

Currently the redirect above will do this: http://somedomain.com/?
I want it to just redirect like...

RedirectMatch Strip Trailing ? From Redirect

from Apache https://ift.tt/2F4eucN
via IFTTT

Post a Comment

0 Comments