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

Incompatibility with WP-Rocket premium plugin #9

Open
@shulard

Description

@shulard

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...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions