added redirect (301) handling when route url is set