I've recently set up a virtual host using nginx. The website being hosted needs to redirect URL's containing '/old/'
- to the same url without '/old/'
. For example:
www.mywebsite.com/old/a/b/c to www.mywebsite.com/a/b/c www.mywebsite.com/old/a to www.mywebsite.com/a www.mywebsite.com/old/a/b/c/d/e to www.mywebsite.com/a/b/c/d/e
Can anyone point me in the right direction? Cheers