I want all visitors to be sent to domain1.com But when bots visit domain1.com, I want them to redirected to domain2.com Can anyone tell me how to write a code for it ? Thanks
You could do it using IP redirection, but it is a black hat technique and your website could be banned in search engines..