I want to block Twitter bots from my site, or rather redirect them to a specified URL when they visit my site.
I have a list of user agents their bots use and if anyone visits my page with these user agents, they get sent somewhere else. Normal users get sent somewhere else.
Twitter bot (defined by a set of user agent strings) visits my page... Gets sent to [url removed, login to view]
Normal user visits my page... Gets sent to [url removed, login to view]
14 freelancers estão ofertando em média $116 para este trabalho
Hello there! This could be achieved through .htaccess as well as with scripting (php). Would the destination location depend on th erequested URI or it would always be one and the same? Regards, Dobri
I have more than 8 years of experience in PHP and open source, also have experience of handling complex project and I'm very much confident that I will able to manage this project. Please give chance to prove myself.
Hello, This should be a quite easy and fast... on 1.php and 2.php add some header detection code (in php, via the HTTP_USER_AGENT). Contact me for more details.