Thread:Project:Support desk/Remove old subdirectory from URL/reply

I don't know how nginx work, but instead of doing a rewrite, you should do a redirect instead. A rewrite makes the old page still accessible, but users won't see that it changed, and search engines will find the same page in both locations, which is bad. Do a redirect, instead. That will change the URL in the browser's location bar and also tell search engines that the old URL has been moved to the new one.