Home Forums WordPress Plugins Hide My WP Site Doesn't Load with WP Rocket Enabled

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26542

    Hi there,

    After enabling Hide My WP on our Multisite installation and adding the following code to our HTACCESS, I cannot load the site frontend when using WP Rocket:

    RewriteRule ^other/js/embed\.min\.js /wp-includes/js/wp-embed.min.js?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^/ //?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^other/(.*) /wp-includes/$1?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^file/(.*) /wp-content/uploads/$1?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^ext/(.*) /wp-content/plugins/$1?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^skin/([_0-9a-zA-Z-]+)/main\.css /index.php?style_wrapper=true&template_wrapper=$1&ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^skin/([_0-9a-zA-Z-]+)/style\.css /nothing_404_404?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^skin/(.*) /wp-content/themes/$1?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?ajax /wp-admin/admin-ajax.php?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^inc/(.*) /wp-content/$1?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^(readme\.html|license\.txt|wp-content/debug\.log|wp-includes/$) /nothing_404_404?ezKyU_hide_my_wp=1234 [QSA,L]
    RewriteRule ^(((wp-content|wp-includes)/([A-Za-z0-9\-\_\/]*))|(wp-admin/(!network\/?)([A-Za-z0-9\-\_\/]+)))(\.txt|/)$ /nothing_404_404?ezKyU_hide_my_wp=1234 [QSA,L]

    I have tried clearing the cache, browser cache, etc. It just loads a blank screen with Javascript errors. I am disabling the plugin for now so I can continue working on the site.

    Attachments:
    You must be logged in to view attached files.
    #26546
    Suman M.
    Post count: 12480

    Hi, if you are using WP Rocket, then we recommend you to enable “combine css files” and “combine js files” options, and disable “Optimize CSS delivery” and “Load JavaScript deferred” options. Also, clear the cache after applying HMWP settings. Do let us know!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.