Fix for redirects not working on old urls