fixed some domain issues
All checks were successful
Deploy SingleChat / deploy (push) Successful in 24s
All checks were successful
Deploy SingleChat / deploy (push) Successful in 24s
This commit is contained in:
26
SEO-TODO.md
26
SEO-TODO.md
@@ -2,7 +2,7 @@
|
||||
|
||||
## 1) Host-/TLS-Konsistenz (Apex und www)
|
||||
|
||||
- [x] App-Fallback-Redirect in Node aktiv (`ypchat.net` + HTTP -> `https://www.ypchat.net`).
|
||||
- [x] App-Fallback-Redirect in Node aktiv (kanonischer Host: `https://ypchat.net`).
|
||||
|
||||
### Zertifikatserstellung (Let's Encrypt / Certbot, Apache)
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
### Apache-Redirects (kanonischer Host + HTTPS)
|
||||
|
||||
Empfohlene Logik:
|
||||
- `http://ypchat.net/*` -> `https://www.ypchat.net/*` (301)
|
||||
- `http://www.ypchat.net/*` -> `https://www.ypchat.net/*` (301)
|
||||
- `https://ypchat.net/*` -> `https://www.ypchat.net/*` (301)
|
||||
- Nur `https://www.ypchat.net/*` liefert `200`
|
||||
- `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/*` liefert `200`
|
||||
|
||||
Beispiel (VirtualHost fuer Port 80):
|
||||
|
||||
@@ -32,32 +32,32 @@ Beispiel (VirtualHost fuer Port 80):
|
||||
ServerName ypchat.net
|
||||
ServerAlias www.ypchat.net
|
||||
RewriteEngine On
|
||||
RewriteRule ^ https://www.ypchat.net%{REQUEST_URI} [R=301,L]
|
||||
RewriteRule ^ https://ypchat.net%{REQUEST_URI} [R=301,L]
|
||||
</VirtualHost>
|
||||
```
|
||||
|
||||
Beispiel (VirtualHost fuer `https://ypchat.net`):
|
||||
Beispiel (VirtualHost fuer `https://www.ypchat.net`):
|
||||
|
||||
```apache
|
||||
<VirtualHost *:443>
|
||||
ServerName ypchat.net
|
||||
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://www.ypchat.net%{REQUEST_URI} [R=301,L]
|
||||
RewriteRule ^ https://ypchat.net%{REQUEST_URI} [R=301,L]
|
||||
</VirtualHost>
|
||||
```
|
||||
|
||||
Verifikation:
|
||||
- `curl -I https://ypchat.net/` -> `301 Location: https://www.ypchat.net/`
|
||||
- `curl -I https://www.ypchat.net/` -> `200`
|
||||
- `curl -I https://ypchat.net/` -> `200`
|
||||
- `curl -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://www.ypchat.net` als Hauptproperty nutzen.
|
||||
- [ ] Sitemap neu einreichen: `https://www.ypchat.net/sitemap.xml`.
|
||||
- [ ] In Google Search Console `https://ypchat.net` als Hauptproperty nutzen.
|
||||
- [ ] Sitemap neu einreichen: `https://ypchat.net/sitemap.xml`.
|
||||
- [ ] Live-Tests ausfuehren fuer:
|
||||
- [ ] `/`
|
||||
- [ ] `/partners`
|
||||
|
||||
Reference in New Issue
Block a user