Guten Abend werte Community,
da ihr mir schon sehr oft geholfen habt muss ich mich heute wieder an euch wenden.
Vor etwa 3 Tagen startete Ich meinen Debian Server neu. Auf dem Server laufen drei Wordpress Instanzen.
Die letzten Tage wunderte ich mich sehr als meine Adsense Einnahmen stetig Richtung 0 schwanden und wollte der Sache heute mal auf den Grund gehen.
Zuerst dachte ich alles sei soweit okay da die Startseiten alle Problemlos laden, aber dem ist nicht so denn jeder Beitrag zeigt einen 404 Fehler an.
Das hatte ich schon einmal bei Wordpress also vollzog ich meine gängige Fehleranalyse:
mod_rewrite ist an
Datenbank ist heile
Permalinks sind korrigiert
alles nochmal neu gestartet
AllowOverride All steht in der conifg
.htaccess ist korrekt.
Cache wurde überall geleert
Konfiguration meiner Testseite:
<VirtualHost *:80>ServerAdmin webmaster@cloudload.eu
DocumentRoot /var/www/cloudload
ServerName cloudload.eu
DirectoryIndex index.php
ErrorLog /var/log/apache2/cloudload-error.log
</VirtualHost>
<Location />
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R]
</Location>
<Directory "/var/www/cloudload">
Require all granted
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule mod_ssl.c>
<VirtualHost *:443>
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
</IfModule>
ServerAdmin webmaster@cloudload.eu
DocumentRoot /var/www/cloudload
ServerName cloudload.eu
SSLStrictSNIVHostCheck off
DirectoryIndex index.php
ErrorLog /var/log/apache2/polr-error.log
SSLCertificateFile /etc/letsencrypt/live/stoecklmayer.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/stoecklmayer.net/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
<Location />
RewriteEngine on
</Location>
<Directory /var/www/cloudload/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</IfModule>
Alles anzeigen
htaccess
# BEGIN WordPress<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
php_value max_input_vars 1500
php_value max_execution_time 300
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 7 days"
ExpiresByType image/jpeg "access plus 7 days"
ExpiresByType image/jpg "access plus 7 days"
ExpiresByType image/png "access plus 7 days"
ExpiresByType text/css "access plus 7 days"
ExpiresByType text/javascript "access plus 2 hours"
ExpiresByType application/x-javascript "access plus 7 days"
ExpiresByType application/javascript "access plus 7 days"
</IfModule>
Alles anzeigen
Es muss ja irgendwie an einer allgemeinen Konfiguration liegen, da alle drei Wordpress Seiten gleichzeitig schlagartig versagen.
Auf dem Server laufen noch mehr Webseiten und Dienste. Diese laufen alle einwandfrei!