How to make Nginx redirect with site.com/%40user
on site.com/@user
Write the following condition rewrite ^/%40(.*)$ /@$1 permanent;
but no redirect. I think it's because of the sign %, it is necessary as-that to escape, because when I remove it and leave just 40 rewrite ^/40(.*)$ /@$1 permanent;
, redirect works for site.com/40user
Tried to search for how to escape the %, but anything sensible there. Maybe not in that side dig?