Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
wp-rocket-preload-htaccess-auth.php
wp-rocket-preload-htaccess-auth.zip

README.md

WP Rocket | HTACCESS Authorization For Preload

Adds the .htaccess username and password to the preload request so that WP Rocket can preload pages that are password protected.

🚧 ADVANCED CUSTOMIZATION, HANDLE WITH CARE!

📝 Manual code edit required before use!

Set WPROCKETHELPERS_HTACCESS_USERNAME as your .htaccess username and WPROCKETHELPERS_HTACCESS_PASSWORD as your .htaccess password.

Hint: Search for EDIT_ME in the source code.

For preload to work, wp-cron.php should be whitelisted from .htaccess authorization as well. Please refer doc for more info.

Documentation:

To be used with:

  • any setup that uses preload when the website is password protected by .htaccess authorization.

Last tested with:

  • WP Rocket 3.2.x
  • WordPress 5.0.x
You can’t perform that action at this time.