Support » Plugin: Better WordPress Minify » 404 always with Friendly minify

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    Are you using nginx or apache?

    Thread Starter JibsouX

    (@jibsoux)

    i’m on apache and th htaccess is good..

    Plugin Author Khang Minh

    (@oddoneout)

    Are you using a custom cache directory or the default one? Can you post the .htaccess file inside the cache directory here?

    Thread Starter JibsouX

    (@jibsoux)

    hi i use a custom directory :
    /scripts/cache/
    /scripts/min/

    the htaccess is exactly what is demand i also paste it manually

    Plugin Author Khang Minh

    (@oddoneout)

    Do you have an example url where it leads to a 404? If you don’t mind please post the .htaccess file here. If you can post your current site setup (sub-directory or not, multisite or not, etc.) that would be great.

    Thread Starter JibsouX

    (@jibsoux)

    In my directory /scripts/cache/ i have an htacess :

    # BEGIN BWP Minify Rules
    # BEGIN BWP Minify Headers
    <Files "*.js.gz">
    ForceType application/x-javascript
    </Files>
    <Files "*.css.gz">
    ForceType text/css
    </Files>
    <IfModule mod_mime.c>
    AddEncoding gzip .gz
    AddCharset utf-8 .js .css
    </IfModule>
    <IfModule mod_deflate.c>
        <IfModule mod_setenvif.c>
        SetEnvIfNoCase Request_URI "\.gz$" no-gzip
        </IfModule>
    </IfModule>
    <IfModule mod_headers.c>
    Header set Cache-Control "public, max-age=2592000"
    Header set Vary "Accept-Encoding"
    Header unset ETag
    </IfModule>
    # END BWP Minify Headers
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteRule .* - [E=ZIP_EXT:.gz]
    RewriteCond %{HTTP:Cache-Control} !no-cache
    RewriteCond %{HTTP:If-Modified-Since} !no-cache
    RewriteCond %{REQUEST_FILENAME}%{ENV:ZIP_EXT} -f
    RewriteRule (.*) $1%{ENV:ZIP_EXT} [L]
    RewriteRule ^minify-b(\d+)-([a-zA-Z0-9-_.]+)\.(css|js)$ /index.php?blog=$1&min_group=$2&min_type=$3 [L]
    </IfModule>
    # END BWP Minify Rules

    it’s a sub directory but it’s the same bug if it’s not a sub directory, it’s not multisite.

    the path is auto detected because i have change the min folder path and the caches folder path and there in the same folder :
    /scripts/cache/
    /scripts/min/

    http://articles.preuves-par-images.fr/

    Thread Starter JibsouX

    (@jibsoux)

    if you make a simple refresh i get 404

    Plugin Author Khang Minh

    (@oddoneout)

    Hi,

    Do you see actual cached files in that directory? In the form of minify-bxxxxx? Server’s error log might help as well, try requesting minified contents and check the error log.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘404 always with Friendly minify’ is closed to new replies.