A question we get asked a lot is “How can I password protect my RapidWeaver site?”. There are a two main ways to password protect a page (or multiple pages), I'll cover both of them below.
Update February 2018: We've just released the RapidWeaver Password Protection training course — a set of easy to follow videos showing you how to add password protection to your RapidWeaver site, be it simple htaccess authentication or advanced membership software!
Password Protection Addons (Paid Option)
If you’ve just started using RapidWeaver, or you’re not comfortable creating files on your FTP server, then purchasing a third-party addon is the best option for you. It's easier, and quicker, than creating you’re own solution. The best options currently available are the Page Safe stack by Joe Workman, and the Lockdown plugin (currently in beta) from YourHead.
Both of those addons are paid-for, but they do make adding a username and password to any page(s) very easy.
htaccess Authentication (Free Option)
If you’ve done a bit of coding before, and you don't want to purchase an addon, then using the htaccess authentication method is the best option.
Note: This solution is not something you can achieve from within RapidWeaver. You will need to login to your FTP server and create some files.
Having said that, it is very easy to password protect a folder or directory with .htaccess. The method is generally known as “htaccess authentication” or “htaccess password protection”, and it works by you logging in to your FTP server and creating two files, called .htaccess and .htpasswd, in the directory you want to password protect.
I'm not going to write a full tutorial on how to setup htaccess Authentication, there are already plenty of tutorials out there. However, if you subscriber to our RapidWeaver tutorial videos, then I have recorded a “Basic Authentication Using htaccess” tutorial that shows you how to password protect your RapidWeaver site.
- RapidWeaver Password Protection Video Course
- Basic Authentication Using htaccess video tutorial on the RapidWeaver Community
- Good tutorial on setting up htaccess authentication
- Page Safe stack by Joe Workman
- Lockdown plugin (beta) by YourHead