Blog

Items filtered by date: Abril 2018
Domingo, 29 Abril 2018 15:08

Instalar mcrypt en PHP7

1) sudo apt-get update

2) sudo apt-get install mcrypt php7.0-mcrypt

3) sudo apt-get upgrade

4) sudo service apache2 restart

Published in Ubuntu
Jueves, 26 Abril 2018 17:44

Rango de IP's según países

http://www.ipdeny.com/ipblocks/data/countries/ru.zone

 

2.60.0.0/14
2.92.0.0/14
5.1.48.0/21
5.2.32.0/19
5.3.0.0/16
5.8.0.0/18
5.8.64.0/21
5.8.72.0/21
5.8.80.0/20
5.8.160.0/20
Published in Servidores
Jueves, 26 Abril 2018 17:40

Bloquear IPs de Rusia y China

He aquí buen script creado por nixCraft que permite rápidamente bloquear la mayoría de IPs de los proveedores de servicio de un país concreto. En este caso Rusia y China.

Para cambiar a china solo borramos de ISO=”ru cn” ru. Si queremos añadir España pues añadimos es, fr para Francia, …

Published in Servidores

First, Google wants to see your content. Make sure you have your keywords/keyword phrases in bold in the text, throughout each page.

Second, make sure that you have an up-to-date sitemap.xml file for your site on Google Webmaster Tools. Generate a new sitemap.xml file whenever you have substantially changed the content on your website to let Google know that you have new information that Google can crawl and add to possible search results based on the new and updated content on your website. You can have many sites create a sitemap for you just use Google to search for a 'Sitemap Generator', for more information regarding sitemaps please refer to http://sitemaps.org for some great information about the sitemap protocal and other bits of information that Google can utilize to aggregate and help bring visitors to your website through positive search results. If you do not know how to upload a sitemap you should go to Webmaster Tools click 'Optimize' then click 'Sitemaps'. You will need to upload your own sitemap to your server and tell Google Webmaster Tools where your sitemap file is.

Published in SEO

Cuando se migra un wordpress de Linux a Windows IIS, una de las cosas que no te van a funcionar son los enlaces amigables. En Windows .htaccess no funciona. En su lugar tiene que colocar un fichero web.config para que el sistema te permita visualizar los enlaces amigables. He aqui un ejemplo de web.config para que te funcionen los enlaces amigables. 

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

  <system.webServer>

    <rewrite>

Published in Wordpress
Viernes, 06 Abril 2018 20:21

Relay access denied

El mensaje de error 554 Relay access denied se produce cuando el usuario trata de enviar un email a un dominio externo, y no ocurre así cuando los emails se envían a cuentas del mismo dominio.

La causa más común de este error es que el cliente de correo (outlook, thunderbird, etc) no está usando autenticación saliente, y es necesario utilizarla para que sólo los usuarios registrados puedan enviar correo hacia el exterior. Así evitamos el envío de spam por parte de terceros.

Para solucionar este problema, basta con activar la autenticación del servidor SMTP en el cliente de correo que utilices. 

Los usuarios que hayan trabajado con Plesk, le sonará que en la configuración del correo de Plesk, hay una opción que pone Relay Options.

Dentro, aparecen las siguientes opciones:

Relaying
1) Closed
2) Authorization is required
    POP3 Before SMTP lock time ___ min
    SMTP

Published in Servidores

PageRank is Google’s opinion of the importance of a page based on the incoming links from other sites. (PageRank is an important signal, but it’s one of more than 200 that we use to determine relevancy.) In general, a link from a site is regarded as a vote for the quality of your site.

Google works very hard to make sure that actions on third-party sites do not negatively affect a website. In some circumstances, incoming links can affect Google’s opinion of a page or site. For example, you or a search engine optimizer(SEO) you’ve hired may have built bad links to your site via paid links or other link schemes that violate our quality guidelines. First and foremost, we recommend that you remove as many spammy or low-quality links from the web as possible.

If you’ve done as much work as you can to remove spammy or low-quality links from the web, and are unable to make further progress on getting the links taken down, you can disavow the remaining links. In other words, you can ask Google not to take certain links into account when assessing your site.

Published in SEO