added redirect 301 for replace in routes