Support » Plugin: W3 Total Cache » 500 error on minified css

  • Hello,

    I’m running into the following problem.

    I’ve been trying to get the Minify to work, but to no avail. I’m running on my localhost btw.

    I get a 500 error on my css file. I’ve checked my error log and that says the following:

    src/wp-content/cache/minify/.htaccess: RewriteBase: argument is not a valid URL

    Now I’ve taken a look inside the .htaccess of the minify core, and that contains the following:

    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase nsProjects/squla-wordpress/src/wp-content/cache/minify/
        RewriteRule /w3tc_rewrite_test$ ../../plugins/w3-total-cache/pub/minify.php?w3tc_rewrite_test=1 [L]
        RewriteRule ^(.+/[X]+\.css)$ ../../plugins/w3-total-cache/pub/minify.php?test_file=$1 [L]
        RewriteRule ^(.+\.(css|js))$ ../../plugins/w3-total-cache/pub/minify.php?file=$1 [L]

    Now the part of nsProjects is wrong, that should be NetBeansProjects.

    I don’t know what I should do, can anyone help me out?

    Is this a known issue?

Viewing 1 replies (of 1 total)
  • Plugin didn’t manage to generate correct RewriteBase for you. I had similar issue regarding this directive. You need to rewrite it manually. It should be </subdir>/wp-content/cache/minify/ where </subdir> is the WP install sub-directory in case it’s installed according this CODEX otherwise I guess it’s should be just /wp-content/cache/minify/.

Viewing 1 replies (of 1 total)
  • The topic ‘500 error on minified css’ is closed to new replies.