代码之家  ›  专栏  ›  技术社区  ›  Alexander_F

Wordpress博客有一个很奇怪的问题

  •  1
  • Alexander_F  · 技术社区  · 14 年前

    http://onlinedienstleister24.de/ 有2种设计。

    • 劳务贸易
    • Impressum&Kontakt公司

    你得到了新的设计,一切都很好,但在第一次访问你总是得到旧的系统。。。

    为什么?

    更新:

    如果我使用 http://www.onlinedienstleister24.de/ 站点将正确加载。

    我不认为问题出在浏览器缓存上。

    我的htaccess

    # Das Filtermodul aktivieren.
    SetOutputFilter DEFLATE
    
    # Einige Browser verstehen kein gzip:
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    
    # Andere schon...
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    
    # Bilddateien nicht komprimieren
    SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
    
    # "Vary: Accept-Encoding"-Header einfuegen (wichtig bei Proxys)
    # (ben�tigt das headers-Modul)
    Header append Vary User-Agent env=!dont-vary
    
    <IfModule mod_expires.c>
    #ExpiresActive On
    #ExpiresByType image/x-icon "access plus 5184000 seconds"
    #ExpiresByType image/gif "access plus 5184000 seconds"
    #ExpiresByType image/jpg "access plus 5184000 seconds"
    #ExpiresByType image/png "access plus 5184000 seconds"
    #ExpiresByType text/css "access plus 5184000 seconds"
    #ExpiresByType text/javascript "access plus 5184000 seconds"
    #ExpiresByType application/javascript "access plus 5184000 seconds"
    #ExpiresByType application/x-javascript "access plus 5184000 seconds"
    </IfModule>
    
    # 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
    
    3 回复  |  直到 14 年前
        1
  •  2
  •   Yi Jiang G-Man    14 年前

    我想我可以告诉你为什么会发生这种情况,但我不知道如何解决它(因为我对你如何进行URL路由的知识有限)。

    如果单击链接: http://onlinedienstleister24.de/wp-content/themes/freshfolio/style.css http://www.onlinedienstleister24.de/wp-content/themes/freshfolio/style.css ,而CSS文件的实际URL是 http://www.onlinedienstleister24.de/wp-content/themes/novocane/style.css . 这可能是一个坏习惯的问题 .htaccess

        2
  •  2
  •   Pekka    14 年前

    这似乎是一个子域问题。

    当我通过 onlinedienstleister24.de ,样式已损坏。

    当我进入时 www.onlinedienstleister24.de

    看起来没有www的域指向的web根目录与 www.

        3
  •  0
  •   swirm    14 年前

    onlinedienstleister24.de

    www.onlinedienstleister24.de