Modify magento php script for redirect page only if visited from human and not from bot

Cancelado Postado há 5 anos Pago na entrega
Cancelado Pago na entrega

I have this code:

if(isset($_REQUEST['goto'])){

Mage::log($_SERVER['HTTP_X_REQUESTED_WITH'], null, "[login to view URL]", true);

if(!isset($_SERVER['HTTP_X_REQUESTED_WITH'])){

$product = Mage::getModel('catalog/product')->load($_product->getId());

$url = $product->getResource()->getAttribute('indirizzo_link')->getFrontend()->getValue($product);

Mage::app()->getResponse()->setRedirect($url) ->sendResponse();

return ;

exit;

}

I need that this will work only if page is visited from human and not from google, pinterest (rich pin and bot) and all bot

HTML JavaScript Magento PHP Arquitetura de software

ID do Projeto: #18639597

Sobre o projeto

3 propostas Projeto remoto Ativo em há 5 anos

3 freelancers estão ofertando em média €28 nesse trabalho

psubramonian

My Skillsets: ======== > Frameworks: Laravel , Code-igniter, ionic > Web Applications using PHP + MySQLi + API+jQuery > Restful Web services: REST, SOAP > Payment Gateway : Ccavenue, EBS, Paypal, NetBanking > De Mais

€30 EUR in 0 dias
(100 Comentários)
6.3
xinglong717

Hello Law, I am a professional NodeJS & ReactJS & Angular expert, having 7+ years’ experience in building medium and big web applications. My development area includes Social dating apps, e-commerce, Administrative Mais

€23 EUR em 1 dia
(68 Comentários)
5.8
parmarhemant

Hello there, I have a solution for you but before proceeding ahead I wanted to discuss some point for the same. I do have the right skills for your project, I'm ready for any demo test so that you can check my skil Mais

€30 EUR em 1 dia
(2 Comentários)
2.0