Support » Allgemeine Fragen » Cache: Änderungen nur sichtbar, wenn man angemeldet ist

  • Gelöst Michael Walter

    (@michael-walter)


    Hallo allerseits,

    ich würde mich sehr freuen, wenn mir jemand bei folgendem Problem helfen könnte. Vielen Dank vorab 🙂

    Problem:
    Änderungen an der Website werden nur angezeigt, wenn ich angemeldet bin. Sowie ich mich abmelde oder einen anderen Browser nutze, wird nur der alte Zustand angezeigt.

    Es wurde kein Plugin bzgl. Cache genutzt.

    Lösungsversuche:
    1. Erneutes Einspielen der Datenbanken (2,4 und 6 Tage alt): keine Lösung.
    2. Deaktivieren und aller Plugins: : keine Lösung.
    3. Habe Cachify installiert: keine Lösung

    Installierte Plugins – alle aktuell:
    BackWPup
    Artikel duplizieren
    Fusion Core
    LayerSlider WP
    Revolution Slider
    TablePress
    UpdraftPlus – Backup/Restore
    Wordfence Security
    WordPress SEO von Yoast

    .htaccess-Datei

    AddHandler php56-cgi .php
    #WFCACHECODE - Do not remove this line. Disable Web Caching in Wordfence to remove this data.
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    <IfModule mod_mime.c>
    AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
    </IfModule>
    <IfModule mod_mime.c>
    AddType text/html .html_gzip
    AddEncoding gzip .html_gzip
    AddType text/xml .xml_gzip
    AddEncoding gzip .xml_gzip
    </IfModule>
    <IfModule mod_setenvif.c>
    SetEnvIfNoCase Request_URI \.html_gzip$ no-gzip
    SetEnvIfNoCase Request_URI \.xml_gzip$ no-gzip
    </IfModule>
    <IfModule mod_headers.c>
    Header set Vary "Accept-Encoding, Cookie"
    </IfModule>
    <IfModule mod_rewrite.c>
    #Prevents garbled chars in cached files if there is no default charset.
    AddDefaultCharset utf-8
    
    #Cache rules:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTPS} on
    RewriteRule .* - [E=WRDFNC_HTTPS:_https]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteRule .* - [E=WRDFNC_ENC:_gzip]
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{HTTPS} off
    RewriteCond %{QUERY_STRING} ^(?:\d+=\d+)?$
    RewriteCond %{REQUEST_URI} (?:\/|\.html)$ [NC]
    
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|wf_logout|wordpress_logged_in|wptouch_switch_toggle|wpmp_switcher) [NC]
    
    RewriteCond %{REQUEST_URI} \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$
    RewriteCond "%{DOCUMENT_ROOT}/wp-content/wfcache/%{HTTP_HOST}_%1/%2~%3~%4~%5~%6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}" -f
    RewriteRule \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$ "/wp-content/wfcache/%{HTTP_HOST}_$1/$2~$3~$4~$5~$6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}" [L]
    </IfModule>
    #Do not remove this line. Disable Web caching in Wordfence to remove this data - WFCACHECODE
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

Ansicht von 1 Antwort (von insgesamt 1)
  • Thread-Starter Michael Walter

    (@michael-walter)

    So schnell kann´s gehen, das Problem ist gelöst 🙂

    Der Fehler lag in der .htaccess-Datei: eine falsche Cache-Einstellung in Wordfence. Nachdem ich in Wordfence den Cache gelöscht hatte, wurden die oben ersichtlichen Befehle von Wordfence in der .ht-access-Datei gelöscht.

    Nun sind alle Änderungen auch ausgeloggt ersichtlich 🙂

Ansicht von 1 Antwort (von insgesamt 1)
  • Das Thema „Cache: Änderungen nur sichtbar, wenn man angemeldet ist“ ist für neue Antworten geschlossen.