checking redirection from other pages.