Add smart redirects