RapidWeaver Password Protection

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.

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.

Resources

Read “Build Better Sites With Our RapidWeaver Video Tutorials” next