Hi, I should add that I wrote the following to remove an errant
question mark from the end of another URL, but it doesn't appear
to work for the homepage.
RewriteCond %{THE_REQUEST} /features\? [NC]
RewriteRule ^ %{REQUEST_URI} [L,R=302,NE,QSD]
Thanks,
Dave
On 6/20/24 7:01 PM, Dave Wreski wrote:
Hi,
I have another challenging rewrite rule request, please. I'm
trying to remove a single question mark from a URL:
https://example.com/?
I've tried the following:
RewriteRule ^/\?$ / [L,R=301,QSD]
RewriteRule ^/\? /? [L,R=301]
RewriteCond %{REQUEST_URI} ^$
RewriteRule ^ /? [L,R=301,QSD]
But it seems to ignore all of them. Ideas greatly appreciated.
Thanks,
Dave
--
|
Dave
Wreski
Chief
Executive Officer
|
|
|
We
Make Email Safe For Business
|
|
|
|
|
|
|
|
|