Reducing redirection in main pages