• Hi,

    I’m not sure if this is because I’m using a CDN or WPEngine as host, but I’m unable to get Friendly Minify URLs to work without it breaking this site as it then doesn’t load the CSS or JSS.

    The server document root is /nas/wp/www/sites/strandvet

    I have asked WPEngine to change Redirect Bots to Off (as per this post – https://www.ads-software.com/support/topic/bwp-minify-breaks-css), but that hasn’t worked. I have also added the Nginx rewrite rules to the .htaccess file in the BWP cache.

    I’m assuming that I need to change the Friendly Minify url path, but nothing I have tried has worked. The cache folder is /wp-content/plugins/bwp-minify/cache/, so the default should work. I’ve tried changing this to the path using the CDN, but that hasn’t worked. CDN Support is enabled.

    Hope you can help.

    https://www.ads-software.com/plugins/bwp-minify/

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

    (@oddoneout)

    For WPEngine you will need a special redirect rule. Go to Installs >> Redirect rules and then click on New redirect rule:

    Source: ^/wp-content/plugins/bwp-minify/cache/minify-b(\d+)-([a-zA-Z0-9-_.]+)\.(css|js)$

    Destination: /index.php?blog=$1&min_group=$2&min_type=$3

    Rewrite type: break

    You should adjust the value if you have custom cache directory.

    Also, make sure you only put Apache rewrite rules into cache directory’s .htaccess file.

    Hope that helps.

    Thread Starter GorgeousCreative

    (@gorgeouscreative)

    Thanks, I figured that might be the case.

    I’ve setup that redirect rule and it’s still not loading the CSS or Javascript (I don’t have a custom cache directory). Any other suggestions?

    Here’s link to screenshots of my plugin settings: https://i.imgur.com/MXZ7Vsy.jpg and https://i.imgur.com/GCazIZ5.jpg

    Hope you can help.

    Cheers,

    Sandra

    Plugin Author Khang Minh

    (@oddoneout)

    Hi Sandra, sorry for my late reply.

    According to your screenshot you’re not currently enabling friendly minify url feature? Also are you experiencing the issue on staging or on live server?

    Due to a limitation of WPEngine, friendly minify url only works on live server at the moment (with the above redirect rule).

    Thread Starter GorgeousCreative

    (@gorgeouscreative)

    I had to turn it off as the site is broken when it is turned on. Hope you can still help. Am happy to give you Dashboard access.

    Plugin Author Khang Minh

    (@oddoneout)

    OK, can you contact me via https://betterwp.net/contact/ ? We shall continue our investigation there.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to get Friendly Minify Urls to work’ is closed to new replies.