2.2 KiB
2.2 KiB
SEO TODO (offene Punkte)
1) Host-/TLS-Konsistenz (Apex und www)
- App-Fallback-Redirect in Node aktiv (kanonischer Host:
https://ypchat.net).
Zertifikatserstellung (Let's Encrypt / Certbot, Apache)
- DNS pruefen
A/AAAAfuerypchat.netundwww.ypchat.netmuessen auf denselben Server zeigen.
- Certbot installieren (falls noch nicht vorhanden)
- Ubuntu:
sudo apt update && sudo apt install certbot python3-certbot-apache
- Ubuntu:
- Zertifikat fuer beide Hosts ausstellen
sudo certbot --apache -d ypchat.net -d www.ypchat.net
- Auto-Renew testen
sudo certbot renew --dry-run
- Apache neu laden
sudo systemctl reload apache2
Apache-Redirects (kanonischer Host + HTTPS)
Empfohlene Logik:
http://ypchat.net/*->https://ypchat.net/*(301)http://www.ypchat.net/*->https://ypchat.net/*(301)https://www.ypchat.net/*->https://ypchat.net/*(301)- Nur
https://ypchat.net/*liefert200
Beispiel (VirtualHost fuer Port 80):
<VirtualHost *:80>
ServerName ypchat.net
ServerAlias www.ypchat.net
RewriteEngine On
RewriteRule ^ https://ypchat.net%{REQUEST_URI} [R=301,L]
</VirtualHost>
Beispiel (VirtualHost fuer https://www.ypchat.net):
<VirtualHost *:443>
ServerName www.ypchat.net
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/ypchat.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ypchat.net/privkey.pem
RewriteEngine On
RewriteRule ^ https://ypchat.net%{REQUEST_URI} [R=301,L]
</VirtualHost>
Verifikation:
curl -I https://ypchat.net/->200curl -I https://www.ypchat.net/->301 Location: https://ypchat.net/- Browser ohne TLS-Warnung fuer beide Hosts
3) Search Console / Reindexing
- In Google Search Console
https://ypchat.netals Hauptproperty nutzen. - Sitemap neu einreichen:
https://ypchat.net/sitemap.xml. - Live-Tests ausfuehren fuer:
//partners/feedback
- Fuer diese URLs "Indexierung beantragen".
- Nach 7-14 Tagen kontrollieren:
- "Gecrawlt - zurzeit nicht indexiert"
- "Gefunden - zurzeit nicht indexiert"
- Impressionen/Klicks im Leistungsbericht.