Warum ist das wichtig?
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.
Wie beheben Sie es?
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.
Dieser Check bewertet von 0 bis 100. Unter 50 ist ein Fail, 50 bis 89 eine Warnung, 90 oder höher ist gut. Nach jedem Crawl sehen Sie die Note pro Seite im Report, mit einer kurzen Erklärung.
Häufige Fragen
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.
Beispiel
Kopieren Sie den Code unten und passen Sie Domain, Markenname und Inhalt an Ihre Situation an.
# 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]