Técnico

WWW consistency

Checks if www and non-www redirect consistently.

¿Por qué importa esto?

www.example.com and example.com are technically two separate domains. Without a redirect, search engines see both as separate websites and split link value and authority.

¿Cómo se soluciona?

Choose one preferred form (www or non-www) and redirect the other via 301. Set the preference in Google Search Console. Use a canonical tag that always points to the preferred form.

Este check puntúa de 0 a 100. Bajo 50 es un fallo, 50 a 89 un aviso, 90 o más es bueno. Tras cada crawl ve la nota por página en el informe, con una breve explicación.

Preguntas frecuentes

Checks if www and non-www redirect consistently.

www.example.com and example.com are technically two separate domains. Without a redirect, search engines see both as separate websites and split link value and authority.

Choose one preferred form (www or non-www) and redirect the other via 301. Set the preference in Google Search Console. Use a canonical tag that always points to the preferred form.

Ejemplo

Copie el código de abajo y adapte el dominio, la marca y el contenido a su situación.

# Choose one preference: www OR non-www (here: enforce www)

# Nginx
server {
    listen 443 ssl;
    server_name yourdomain.com;  # non-www
    return 301 https://www.yourdomain.com$request_uri;
}

# Apache .htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
Empezar gratis