{"id":28262,"date":"2018-12-11T11:20:24","date_gmt":"2018-12-11T09:20:24","guid":{"rendered":"https:\/\/www.hostinet.com\/formacion\/?p=28262"},"modified":"2018-12-11T11:20:24","modified_gmt":"2018-12-11T09:20:24","slug":"como-bloquear-spam-en-prestashop16-codigo-de-codigos","status":"publish","type":"post","link":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/","title":{"rendered":"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)"},"content":{"rendered":" <!-- x0 --><div style=\"min-height: 30px; margin-top: 0px; padding-bottom: 7px; z-index: 1;position: relative; float: none;\" class=\"social-container\"><\/div><p style=\"text-align: center;\">\n\t<img decoding=\"async\" alt=\"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/bloquear-spam-ps.jpg\" style=\"width: 600px; height: 550px;\" \/>\n<\/p>\n<p>\n\tYa hemos realizado alg&uacute;n art&iacute;culo comentando que si recib&iacute;amos <strong>SPAM desde los formularios<\/strong> de PrestaShop 1.7 lo mejor era poner un <a href=\"https:\/\/www.hostinet.com\/formacion\/prestashop\/modulo-captcha-prestashop17\/\" title=\"PrestaShop 1.7 m\u00f3dulo de Captcha\">sistema de Captcha en PrestaShop 1.7<\/a> que pudiera identificar si quien escrib&iacute;a el email era una personal real o un robot e incluso tambi&eacute;n pusimos un art&iacute;culo con otro <a href=\"https:\/\/www.hostinet.com\/formacion\/prestashop\/prestashop-1-6-solucionar-envio-spam-desde-formulario-de-contacto\/\" title=\"PrestaShop 1.6: Solucionar Env\u00edo de SPAM desde Formulario de Contacto\">m&eacute;todo alternativo para PrestaShop 1.6<\/a> en caso de no querer poner un sistema de Captcha.\n<\/p>\n<p>\n\tHoy os presentamos <strong>otro m&eacute;todo para bloquear SPAM en PrestaShop 1.6 sin necesidad de Captchas<\/strong>, y que adem&aacute;s resulta mucho m&aacute;s sencillo. Lo haremos mediante lo que hemos bautizado como <em>&ldquo;El C&oacute;digo de C&oacute;digos&rdquo;<\/em>, ya que b&aacute;sicamente se trata de un c&oacute;digo que tenemos que a&ntilde;adir a un archivo que tenemos que crear dentro de PrestaShop 1.6.\n<\/p>\n<p>\n\tY es que como sab&eacute;is<strong> los formularios de contacto de PrestaShop 1.6 que son poco seguros no paran de ser atacados por robots<\/strong>, as&iacute; que vamos a ver la manera de<strong> bloquear los emails SPAM provenientes de los formularios<\/strong>.\n<\/p>\n<h2>\n\t<strong>C&oacute;mo Bloquear SPAM en PrestaShop 1.6<\/strong><br \/>\n<\/h2>\n<p>\n\tPara ello hay que <strong>crear un archivo llamado &quot;ContactController.php&quot;<\/strong><strong> <\/strong>con un c&oacute;digo un &ldquo;poco&rdquo; extenso, dentro de la siguiente carpeta de PrestaShop: <em>override\/controllers\/front<\/em>, pero no te preocupes, ya que te explicamos todo a continuaci&oacute;n.\n<\/p>\n<p>\n\tPara este tutorial vamos a usar el panel de control<strong> cPanel <\/strong>y su correspondiente<strong> Administrador de Archivos<\/strong>, ya que pensamos es la forma m&aacute;s r&aacute;pida, pero tambi&eacute;n se puede usar un cliente de FTP.\n<\/p>\n<p>\n\tRecordemos que hay 3 formas de acceder a cPanel:\n<\/p>\n<ul>\n<li>\n\t\t&ndash; Mediante el dominio (si apunta a los servidores de Hostinet): -&gt; <em>https:\/\/www.<\/em>midominio.info<em>\/cpanel <\/em>(sustituyendo midominio.info por el dominio que corresponda)\n\t<\/li>\n<li>\n\t\t&ndash; A trav&eacute;s del servidor (el dominio NO apunta a los servidores de Hostinet) -&gt; <em>https:\/\/hostxx.hostinet.com\/cpanel<\/em> (sustituyendo xx por el n&uacute;mero del servidor de Hostinet en el que te encuentres)\n\t<\/li>\n<li>\n\t\t&ndash; <a href=\"https:\/\/www.hostinet.com\/formacion\/panel-alojamiento\/como-acceder-al-panel-de-tu-hosting-desde-hostinet-com\/\" title=\"Acceso cPanel desde \u00e1rea de clientes de Hostinet\">Desde el &aacute;rea de clientes de Hostinet<\/a>\n\t<\/li>\n<\/ul>\n<p>\n\tUna vez dentro de cPanel, en la primera secci&oacute;n <strong>&ldquo;ARCHIVOS&rdquo;<\/strong>, tenemos la opci&oacute;n del <strong>&ldquo;Administrador de archivos&rdquo;<\/strong>.\n<\/p>\n<p style=\"text-align: center;\">\n\t<img decoding=\"async\" alt=\"cPanel Administrador Archivos Nuevo 2018\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/cPanel-AdministradorArchivos-Nuevo2018.jpg\" style=\"width: 600px; height: 273px;\" \/>\n<\/p>\n<p>\n\tAll&iacute;, debemos buscar la ruta que coment&aacute;bamos previamente de la instalaci&oacute;n de PrestaShop: <em>override\/controllers\/front<\/em>, y <strong>crear un archivo con el nombre &ldquo;ContactController.php&rdquo;.<\/strong>\n<\/p>\n<p>\n\tEl archivo se puede crear f&aacute;cilmente pulsado en <strong>&ldquo;+Archivo (1)&rdquo;<\/strong>, ubicado en la parte superior izquierda del Administrador de archivos de cPanel. Despu&eacute;s, en nuevo nombre del archivo, tecleamos <strong>&ldquo;ContactController.php (2)&rdquo;<\/strong>. Y, por &uacute;ltimo, hacemos click en el bot&oacute;n<strong> &ldquo;Create New File (3)&rdquo;<\/strong>.\n<\/p>\n<p style=\"text-align: center;\">\n\t<img decoding=\"async\" alt=\"PrestaShop Crear Contactcontroller.php\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/prestashop-crear-contactcontroller.jpg\" style=\"width: 600px; height: 383px;\" \/>\n<\/p>\n<p>\n\tCreado el archivo toca meter <em>&ldquo;El C&oacute;digo de C&oacute;digos&rdquo;<\/em>. Para ello, hacemos click con el bot&oacute;n izquierdo del rat&oacute;n para seleccionar el archivo. Despu&eacute;s, hacemos lo mismo, pero con el bot&oacute;n derecho del rat&oacute;n, ya que de esta forma se desplegar&aacute; un men&uacute; con la opci&oacute;n<strong> &ldquo;Edit&rdquo;<\/strong>, sobre la cual tenemos que pinchar. Despu&eacute;s, tendremos que pulsar de nuevo en <strong>&quot;Edit&quot;<\/strong>.\n<\/p>\n<p style=\"text-align: center;\">\n\t<img decoding=\"async\" alt=\"PrestaShop Contactcontroller.php Edit\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/prestashop-contactcontroller-edit.jpg\" style=\"width: 600px; height: 479px;\" \/>\n<\/p>\n<h2>\n\t<strong>El C&oacute;digo de C&oacute;digos<\/strong><br \/>\n<\/h2>\n<p>\n\tEl c&oacute;digo a poner es el siguiente:\n<\/p>\n<blockquote>\n<p>\n\t\t&lt;?php\n\t<\/p>\n<p>\n\t\tclass ContactController extends ContactControllerCore\n\t<\/p>\n<p>\n\t\t{\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;public function postProcess()\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;{\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(Tools::isSubmit(&#39;submitMessage&#39;)) {\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$message = Tools::getValue(&#39;message&#39;);\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$from = Tools::getValue(&#39;from&#39;);\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$banned_in_email = [&#8216;.ru&#8217;, &#8216;qq.com&#8217;, &#8216;.vn&#8217;];\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$banned_content = [&#8216;email marketing&#8217;];\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach ($banned_in_email as $string) {\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(strstr($from, $string))\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;errors[] = Tools::displayError(&#39;Este Email NO est&aacute; Permitido&#39;);\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\n\t<\/p>\n<p>\n\t\t&nbsp;\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach ($banned_content as $string) {\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(strstr($message, $string))\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;errors[] = Tools::displayError(&#39;Contenido Invalido&#39;);\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parent::postProcess();\n\t<\/p>\n<p>\n\t\t&nbsp;&nbsp;&nbsp;&nbsp;}\n\t<\/p>\n<p>\n\t\t}\n\t<\/p>\n<\/blockquote>\n<p>\n\t&nbsp;\n<\/p>\n<h3 style=\"text-align: center;\">\n\t<img decoding=\"async\" alt=\"PrestaShop Contactcontroller.php C\u00f3digo\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/prestashop-contactcontroller-codigo.jpg\" style=\"width: 600px; height: 415px;\" \/><br \/>\n<\/h3>\n<h3>\n\t<strong>La clave<\/strong><br \/>\n<\/h3>\n<p>\n\tSi revisamos el c&oacute;digo podemos ver lo siguiente:\n<\/p>\n<blockquote>\n<p>\n\t\t$banned_in_email = [&#8216;.ru&#8217;, &#8216;qq.com&#8217;, &#8216;.vn&#8217;];\n\t<\/p>\n<\/blockquote>\n<p>\n\t<br \/>\n\tY esto es la clave, ya que en esa l&iacute;nea podemos definir <strong>qu&eacute; clase de emails banear<\/strong>. Aunque debemos tener en cuenta que la terminaci&oacute;n que pongamos all&iacute; debe estar relacionada con los <strong>correos SPAM <\/strong>que estamos recibiendo.<span style=\"color:#FF0000;\"> Normalmente se suele recibir spam de los dominios: .ru, qq.com y .vn<\/span>, por eso hemos puesto esos 3, pero si recibes de alg&uacute;n otro lo puedes a&ntilde;adir al listado tambi&eacute;n sin problemas.\n<\/p>\n<blockquote>\n<p>\n\t\t$banned_content = [&#8216;email marketing&#8217;];\n\t<\/p>\n<\/blockquote>\n<p>\n\t<br \/>\n\tTambi&eacute;n podemos <strong>banear alg&uacute;n email que incluya el texto el que queramos<\/strong>, por ejemplo &ldquo;email marketing&rdquo;. Si recibimos muchos emails que contienen en el texto esa palabra &ldquo;email marketing&rdquo; u otra es probable que ese mensaje sea <strong>SPAM<\/strong>, por lo que podemos a&ntilde;adir esa palabra para banearlo. No est&aacute; nada mal &iquest;a qu&eacute; no?\n<\/p>\n<p>\n\tAntes de realizar una prueba de env&iacute;o de spam, debemos asegurarnos de <strong>borrar el archivo &ldquo;class_index.php&rdquo;<\/strong>, dentro de la <strong>carpeta &ldquo;cache&rdquo; de Prestashop 1.6,<\/strong> para que el sistema cargue de nuevo<em> override<\/em>. Para ello podemos seleccionar el archivo con el bot&oacute;n derecho del rat&oacute;n y despu&eacute;s hacer lo mismo, pero haciendo click con el bot&oacute;n derecho para que se desplegu&eacute; un men&uacute; con la opci&oacute;n<strong> &ldquo;Delete&rdquo;<\/strong> o incluso podemos darle a<strong> &ldquo;Borrar&rdquo; <\/strong>en la barra superior del Administrador de archivos.\n<\/p>\n<p style=\"text-align: center;\">\n\t<img decoding=\"async\" alt=\"PrestaShop Cache Borrar Class_index.php\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/prestashop-cache-borrar-classindex.jpg\" style=\"width: 600px; height: 575px;\" \/>\n<\/p>\n<p>\n\t<strong>Este &ldquo;truco&rdquo; para bloquear el SPAM que se env&iacute;a desde los formularios de PrestaShop funciona con la versi&oacute;n 1.6 e inferiores<\/strong>, sin embargo, con PrestaShop 1.7 tambi&eacute;n lo hemos probado y NO funciona. &nbsp;\ud83d\ude41\n<\/p>\n<p>\n\tHemos decidido hacer este art&iacute;culo porque todav&iacute;a tenemos muchos clientes utilizando la versi&oacute;n 1.6 de PrestaShop con formularios que reciben ataques a diario.\n<\/p>\n<h3>\n\t<strong>El resultado ser&iacute;a el siguiente<\/strong><br \/>\n<\/h3>\n<p style=\"text-align: center;\">\n\t<strong>Email NO Permitido:<\/strong>\n<\/p>\n<p style=\"text-align: center;\">\n\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/prestashop-contactcontroller-emailnovalido.jpg\" style=\"width: 600px; height: 486px;\" \/>\n<\/p>\n<p style=\"text-align: center;\">\n\t<strong>Email NO Permitido \/ Contenido Invalido<\/strong>\n<\/p>\n<p style=\"text-align: center;\">\n\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/prestashop-contactcontroller-emailnovalido-contenidoinvalido.jpg\" style=\"width: 600px; height: 499px;\" \/>\n<\/p>\n<p style=\"text-align: center;\">\n\t&nbsp;\n<\/p>\n<p>\n\t<o:p><\/o:p>\n<\/p>\n<ul>\n<\/ul>\n<ul>\n<\/ul>\n<hr \/>\n<p style=\"text-align: center;\">\n\t&iexcl;S&iacute;guenos en nuestras redes sociales: <a href=\"https:\/\/www.facebook.com\/hostinet\" target=\"_blank\" title=\"Hostinet Facebook\">Facebook<\/a> y <a href=\"http:\/\/twitter.com\/hostinet\" target=\"_blank\" title=\"Twitter Hostinet\">Twitter<\/a> @hostinet!\n<\/p>\n<hr \/>\n<h2 style=\"text-align: center;\">\n\t<strong>Hosting PrestaShop SSD &iexcl;Tu Tienda a Toda Velocidad!<\/strong><br \/>\n<\/h2>\n<p style=\"text-align: center;\">\n\t<a href=\"https:\/\/www.hostinet.com\/hosting-prestashop-ssd\/\" target=\"_blank\"><img decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2026\/04\/hosting_prestashop.jpg\" alt=\"Hosting PrestaShop\"><\/a><\/p>\n<div style=\"min-height: 30px; margin-top: 0px; padding-bottom: 7px; z-index: 1;position: relative; float: none;\" class=\"social-container\"><\/div> <!-- x1 -->","protected":false},"excerpt":{"rendered":"<p>Ya hemos realizado alg&uacute;n art&iacute;culo comentando que si recib&iacute;amos SPAM desde los formularios de PrestaShop 1.7 lo mejor era poner un sistema de Captcha en PrestaShop 1.7 que pudiera identificar si quien escrib&iacute;a el email era una personal real o un robot e incluso tambi&eacute;n pusimos un art&iacute;culo con otro\u2026 <\/p>\n<div class=\"post-more\">\n<p><a class=\"btn button\" href=\"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/\">Sigue leyendo &rarr;<\/a><\/p>\n<\/div>\n","protected":false},"author":13,"featured_media":28270,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1784,1925,1916],"tags":[],"class_list":["post-28262","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-prestashop","category-prestashop-1-6","category-tutoriales-prestashop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)<\/title>\n<meta name=\"description\" content=\"\u00bfRecibes SPAM desde los formularios de PrestaShop 1.6 proveniente de los dominios: .ru, qq.com y .vn? Te presentamos &quot;El C\u00f3digo de C\u00f3digos&quot; con el que podr\u00e1s banear esta clase de correos SPAM.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)\" \/>\n<meta property=\"og:description\" content=\"\u00bfRecibes SPAM desde los formularios de PrestaShop 1.6 proveniente de los dominios: .ru, qq.com y .vn? Te presentamos &quot;El C\u00f3digo de C\u00f3digos&quot; con el que podr\u00e1s banear esta clase de correos SPAM.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostinet\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-11T09:20:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/bloquear-spam-ps.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"720\" \/>\n\t<meta property=\"og:image:height\" content=\"660\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Raul Alaman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Hostinet\" \/>\n<meta name=\"twitter:site\" content=\"@Hostinet\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Raul Alaman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/\"},\"author\":{\"name\":\"Raul Alaman\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#\\\/schema\\\/person\\\/7f2d10131293f0f5f8e101ff5fc8bbff\"},\"headline\":\"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)\",\"datePublished\":\"2018-12-11T09:20:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/\"},\"wordCount\":1255,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/bloquear-spam-ps.jpg\",\"articleSection\":[\"PrestaShop\",\"Prestashop 1.6\",\"Tutoriales\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/\",\"name\":\"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/bloquear-spam-ps.jpg\",\"datePublished\":\"2018-12-11T09:20:24+00:00\",\"description\":\"\u00bfRecibes SPAM desde los formularios de PrestaShop 1.6 proveniente de los dominios: .ru, qq.com y .vn? Te presentamos \\\"El C\u00f3digo de C\u00f3digos\\\" con el que podr\u00e1s banear esta clase de correos SPAM.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/bloquear-spam-ps.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/bloquear-spam-ps.jpg\",\"width\":720,\"height\":660,\"caption\":\"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/prestashop\\\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PrestaShop\",\"item\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/category\\\/prestashop\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#website\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/\",\"name\":\"Hostinet\",\"description\":\"Hosting y dominios en Espa\u00f1a. La mejor calidad a precios baratos\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#organization\"},\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#organization\",\"name\":\"Hostinet SLU\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/hostinet-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/hostinet-logo.jpg\",\"width\":600,\"height\":245,\"caption\":\"Hostinet SLU\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/Hostinet\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/#\\\/schema\\\/person\\\/7f2d10131293f0f5f8e101ff5fc8bbff\",\"name\":\"Raul Alaman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g\",\"caption\":\"Raul Alaman\"},\"sameAs\":[\"https:\\\/\\\/www.hostinet.com\\\/formacion\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)","description":"\u00bfRecibes SPAM desde los formularios de PrestaShop 1.6 proveniente de los dominios: .ru, qq.com y .vn? Te presentamos \"El C\u00f3digo de C\u00f3digos\" con el que podr\u00e1s banear esta clase de correos SPAM.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/","og_locale":"es_ES","og_type":"article","og_title":"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)","og_description":"\u00bfRecibes SPAM desde los formularios de PrestaShop 1.6 proveniente de los dominios: .ru, qq.com y .vn? Te presentamos \"El C\u00f3digo de C\u00f3digos\" con el que podr\u00e1s banear esta clase de correos SPAM.","og_url":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/","og_site_name":"Hostinet","article_published_time":"2018-12-11T09:20:24+00:00","og_image":[{"width":720,"height":660,"url":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/bloquear-spam-ps.jpg","type":"image\/jpeg"}],"author":"Raul Alaman","twitter_card":"summary_large_image","twitter_creator":"@Hostinet","twitter_site":"@Hostinet","twitter_misc":{"Escrito por":"Raul Alaman","Tiempo de lectura":"6 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/#article","isPartOf":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/"},"author":{"name":"Raul Alaman","@id":"https:\/\/www.hostinet.com\/formacion\/#\/schema\/person\/7f2d10131293f0f5f8e101ff5fc8bbff"},"headline":"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)","datePublished":"2018-12-11T09:20:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/"},"wordCount":1255,"commentCount":0,"publisher":{"@id":"https:\/\/www.hostinet.com\/formacion\/#organization"},"image":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/bloquear-spam-ps.jpg","articleSection":["PrestaShop","Prestashop 1.6","Tutoriales"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/","url":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/","name":"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)","isPartOf":{"@id":"https:\/\/www.hostinet.com\/formacion\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/#primaryimage"},"image":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/bloquear-spam-ps.jpg","datePublished":"2018-12-11T09:20:24+00:00","description":"\u00bfRecibes SPAM desde los formularios de PrestaShop 1.6 proveniente de los dominios: .ru, qq.com y .vn? Te presentamos \"El C\u00f3digo de C\u00f3digos\" con el que podr\u00e1s banear esta clase de correos SPAM.","breadcrumb":{"@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/#primaryimage","url":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/bloquear-spam-ps.jpg","contentUrl":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2018\/12\/bloquear-spam-ps.jpg","width":720,"height":660,"caption":"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostinet.com\/formacion\/prestashop\/como-bloquear-spam-en-prestashop16-codigo-de-codigos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.hostinet.com\/formacion\/"},{"@type":"ListItem","position":2,"name":"PrestaShop","item":"https:\/\/www.hostinet.com\/formacion\/category\/prestashop\/"},{"@type":"ListItem","position":3,"name":"C\u00f3mo Bloquear SPAM en PrestaShop 1.6 (El C\u00f3digo de C\u00f3digos)"}]},{"@type":"WebSite","@id":"https:\/\/www.hostinet.com\/formacion\/#website","url":"https:\/\/www.hostinet.com\/formacion\/","name":"Hostinet","description":"Hosting y dominios en Espa\u00f1a. La mejor calidad a precios baratos","publisher":{"@id":"https:\/\/www.hostinet.com\/formacion\/#organization"},"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.hostinet.com\/formacion\/#organization","name":"Hostinet SLU","url":"https:\/\/www.hostinet.com\/formacion\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.hostinet.com\/formacion\/#\/schema\/logo\/image\/","url":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2016\/06\/hostinet-logo.jpg","contentUrl":"https:\/\/www.hostinet.com\/formacion\/wp-content\/uploads\/2016\/06\/hostinet-logo.jpg","width":600,"height":245,"caption":"Hostinet SLU"},"image":{"@id":"https:\/\/www.hostinet.com\/formacion\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/Hostinet"]},{"@type":"Person","@id":"https:\/\/www.hostinet.com\/formacion\/#\/schema\/person\/7f2d10131293f0f5f8e101ff5fc8bbff","name":"Raul Alaman","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48b5f4b2533ad76d51832beb49c1a8944cea60b3e968885696869b92ebf7d954?s=96&r=g","caption":"Raul Alaman"},"sameAs":["https:\/\/www.hostinet.com\/formacion\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/posts\/28262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/comments?post=28262"}],"version-history":[{"count":3,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/posts\/28262\/revisions"}],"predecessor-version":[{"id":28281,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/posts\/28262\/revisions\/28281"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/media\/28270"}],"wp:attachment":[{"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/media?parent=28262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/categories?post=28262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinet.com\/formacion\/wp-json\/wp\/v2\/tags?post=28262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}