Hello, got a such problem, some clients come on a wrong link cause of converted special symbols:
they got /%23search instead of /#search (anchor link)
So in apache should work well this phrase:
On my shared hosting with litespeed it doesn't work. Moreover I tried to add "/" after "^" as it said in some guides but with no any changes.
So my last try was:
Maybe anyone can help me with this - much interested what syntax does litespeed not understand or what do I do wrong.
I've tried more obvious:
and
No any works for me...
they got /%23search instead of /#search (anchor link)
So in apache should work well this phrase:
Code:
RewriteRule ^(.*)?%23(.*)?$ $1#$2 [NE,R=301,L,B]
So my last try was:
Code:
RewriteRule ^/(.*)?%23(.*)?$ $1#$2 [NE,R=301,L,B]
I've tried more obvious:
Code:
RewriteRule ^/%23search/ /#search/ [NE,R=301,L,B]
Code:
#RewriteRule ^/%23search/ http://mydomain.lol/#search/ [NE,R=301,L,B]
Last edited by a moderator: