Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Incompatibility with WP-Rocket premium plugin #9

Open
shulard opened this issue Sep 17, 2015 · 0 comments
Open

Incompatibility with WP-Rocket premium plugin #9

shulard opened this issue Sep 17, 2015 · 0 comments

Comments

@shulard
Copy link
Member

shulard commented Sep 17, 2015

WP-Rocket plugin use a specific .htaccess file to handle minification which is:

<Files index.php>
allow from all
</Files>

<IfModule mod_rewrite.c>
RewriteEngine on

# You may need RewriteBase on some servers
#RewriteBase /min

# rewrite URLs like "/min/f=..." to "/min/?f=..."
RewriteRule ^([bfg]=.*)  index.php?$1 [L,NE]
</IfModule>
<IfModule mod_env.c>
# In case AddOutputFilterByType has been added
SetEnv no-gzip
</IfModule>

By default URL like /wp-content/plugins/wp-rocket/min/?f=/wp-includes/js/jquery/jquery.js,/wp-includes/js/jquery/jquery-migrate.min.js gave a 400 error...

Must fix that and maybe simplify the base rewrite rules here...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant