Ruchika
Ruchika

Reputation: 515

How to remove %27A=0 from Url through htaccess

I am finding strange character in url

%27A=0

Its either coming in middle or in between or end of url How to escape and remove through htaccess the url having %27A=0 Server is running on apache and nginx

Upvotes: 0

Views: 388

Answers (1)

ban17
ban17

Reputation: 634

You can remove %27 (html escape for ampersend) from url with this line

RewriteRule ^(.*)'=0(.*)$ /$1$2 [R=301,L,NE]

Upvotes: 1

Related Questions