# Password-protecting WordPress pages

> Require a password to view specific WordPress pages or posts by changing their visibility setting in the editor.

Source: https://helpcenter.ruachost.com/wordpress/guides/password-protecting-wordpress-pages/

WordPress allows you to restrict access to specific pages or posts by requiring a password. This is useful for private content, client areas, or internal documentation. On **ruachost.com**, you can enable password protection directly from the WordPress editor.

## Why Password‑Protect Pages?

- Limit access to sensitive or private content.
- Share exclusive material with clients, subscribers, or team members.
- Avoid publishing content publicly while still making it available to select users.

## Steps to Password‑Protect a Page or Post

1. **Log in to WordPress** as the administrator.
2. Navigate to the page or post you want to protect.
3. In the editor, locate the **Publish** (or **Post Settings**) box.
4. Find the **Visibility** option.

   - By default, it is set to **Public**.
5. Click **Edit** next to Visibility.
6. Select **Password Protected**.
7. Enter a password of your choice.
8. Click **OK**, then **Update** (or **Publish**).

✅ Visitors will now be prompted to enter the password before viewing the page.

> **Note:**
- Passwords are case‑sensitive.
- Only one password can be set per page/post.
- If you want multiple users to access the page, share the same password with them.
- For more advanced access control (e.g., per‑user restrictions), consider membership plugins.
