Does Google bot crawl entire site if there is a redirect
问题 I have a website that redirects a user to the login page after a three page views. Will google bot be able to look at all of my pages or will it be redirected as well. If so, how can I get around this. I found this answer in a question about googlebot, if((!$user->uid) || (!strpos($_SERVER['HTTP_USER_AGENT'],"Googlebot")) || (!strpos($_SERVER['HTTP_USER_AGENT'],"MSNBOT")) ){ // redirect else{ // don't redirect } Would this work? 回答1: Do not serve up different content to search engines then