Wow, this forum sure is active!by Rene2014 - Migration from Other Servers
Recently I changed some things on my site that need a 301 redirect. I would like to do this this as efficient as possible. old situation: http://www.sitename.com/old/etc new situation: https://sitename.com/new/etc Right now I'm doing it with the so called 'evil' if statement: rewrite ^/old(.*)$ /new$1 permanent; if ($scheme = http) { return 301 https://sitename.com$request_uri; }by Rene2014 - Migration from Other Servers