WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: SEO Ultimate] no mod_expires

[Resolved] [Plugin: SEO Ultimate] no mod_expires

  • Hi,
    unfortunately, my provider does not install mod_expires for my apache installation.
    Therefore, no expiration date is added for e.g. the minified CSS and JS files:

    <IfModule mod_expires.c>
        ExpiresActive On
        ExpiresByType text/css M86400
        ExpiresByType application/x-javascript M86400
    </IfModule>
    <IfModule mod_headers.c>
        Header set Pragma public
        Header set X-Powered-By "W3 Total Cache/0.8.5.2"
        Header set Vary "Accept-Encoding"
        Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    </IfModule>

    Could you please change the default .htaccess to:

    <IfModule mod_headers.c>
        Header set Pragma public
        Header set X-Powered-By "W3 Total Cache/0.8.5.2"
        Header set Vary "Accept-Encoding"
        Header set Cache-Control "max-age=2592000, public, must-revalidate, proxy-revalidate"
    </IfModule>

    Since the files are considered to be static cacheable, algorithms like the Google Pagerank want the files to be cacheable for 30 days, shorter periods of time lead to a decrease of the score.

    I already changed my .htaccess file like I described above, but SEO Ultimate always overwrites it…

    Best regards,
    Arne

    http://wordpress.org/extend/plugins/seo-ultimate/

Viewing 2 replies - 1 through 2 (of 2 total)
  • John

    @johnlamansky

    Hi technotronic,

    SEO Ultimate doesn’t make any automatic changes to your htaccess. It only provides a File Editor that makes it easier for you to make manual changes.

    – John

    Hi,
    you are totally right. I wanted to write this Topic for W3 total cache and not SEO Ultimate.

    I am sorry for any inconvenience.

    Best regards,
    Arne

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: SEO Ultimate] no mod_expires’ is closed to new replies.