I want to rewrite some url's in nginx and I have an wordpress site with URLs like this:
How can is remove the en/ with nginx?
Thanks a lot.
You could remove the /en part with the following rewrite.
rewrite ^/en(.*)$ $1;
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago