December 28, 2020
Have a page in your WordPress website that you don’t want the whole world to see? Maybe you just want to allow certain people to access it. The best way to do this is by password protecting the page, and WordPress lets you do that out of the box. However, due to the dynamic nature of this type of functionality and its dependence on communication with the WordPress database, password-protected pages don’t normally work on a statically generated version of a WordPress site.
At Strattic, our goal is to align the static version of WordPress sites as much as possible with the experience of using native WordPress, without our users having to do anything extra or develop new functionality. That’s why we have rolled out native support for static search, Gravity Forms, WPML, Yoast, and more.
And now we have support for WordPress’ password-protected pages!
When editing a page or a post in WordPress, you can choose to password-protect it from the editor. The process is very simple: turn on password protection, choose a password, publish your page, and Voila! You have a page that only users with the password can access.
Here are the steps to password protect this same page on the static version of the site on Strattic:
With this new feature, Strattic clients will enjoy yet another “dynamic” feature within their static, headless environment without compromising their site security. Enjoy!
Co-Founder & CEO of Strattic
After years of dealing with the ongoing struggle of keeping client WordPress sites secure and performant (and not sleeping so soundly at night :)), she realized that these issues could be solved in a radical way by converting the sites to a static, headless architecture, and founded Strattic.