• Resolved Number1.0

    (@number10)


    Hi,

    Autoptimize is not working on my website – accounttax.co.uk/home.

    Simply It is not minifying the HTML, combining and minifying the CSS or combining (the already minified) JS…

    I have tried reinstalling WordPress and reinstalling with just the Autoptimize plugin…

    The Cache folder is created at /home/aws4aws/public_html/accounttax.co.uk/wp-content/cache/autoptimize/ ; yet the ccs and JS only contain an ‘index.html’ file which simply says that Generated by Autoptimize

    There is a .htaccess file in the cache/autoptimize folder which contains the following:

    <IfModule mod_headers.c>
            Header set Vary "Accept-Encoding"
            Header set Cache-Control "max-age=10672000, must-revalidate"
    </IfModule>
    <IfModule mod_expires.c>
            ExpiresActive On
            ExpiresByType text/css A30672000
            ExpiresByType text/javascript A30672000
            ExpiresByType application/javascript A30672000
    </IfModule>
    <IfModule mod_deflate.c>
            <FilesMatch "\.(js|css)$">
            SetOutputFilter DEFLATE
        </FilesMatch>
    </IfModule>
    <IfModule mod_authz_core.c>
        <Files *.php>
            Require all denied
        </Files>
    </IfModule>
    <IfModule !mod_authz_core.c>
        <Files *.php>
            Order deny,allow
            Deny from all
        </Files>
    </IfModule>

    Is this normal…

    The theme I’m using is one that I’ve put together myself…

    https://www.ads-software.com/plugins/autoptimize/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Number1.0

    (@number10)

    Okay I just tried using the default WordPress theme and it worked perfectly…

    This suggests that something is wrong in my theme… Are there any reason why the Autoptimize wouldn’t work on a theme???

    Is there is a log?

    Plugin Author Frank Goossens

    (@futtta)

    Hi Number1.0;
    Had a quick look, the problem is that your theme is missing the opening html-tag.

    Hope this helps,
    frank

    Thread Starter Number1.0

    (@number10)

    Many Thanks… ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Autoptimize Not Working’ is closed to new replies.