Avoid redirects with view selectors