WordPress.org

Plugin Directory

Password Protected — Lock Entire Site, Pages, Posts, Categories, and Partial Content

Password Protected — Lock Entire Site, Pages, Posts, Categories, and Partial Content

Descripción

👑 Get Pro | Live Demo | Documentation | Support

Do you want to secure your WordPress site, to password protect pages, posts, WooCommerce categories, etc.❓ If so, then you need to install ✨the Password Protected plugin✨.

Password Protected is a robust password protection plugin for WordPress that empowers you to password protect entire posts, pages, WordPress categories, WooCommerce products, the WordPress login (wp-admin) page, and even partial content with ease.

Additionally, you can secure the password protected screen from WordPress attacks such as a WordPress brute force attack with the limit login feature.

Therefore, the Password Protected WordPress plugin ensures comprehensive security, covering everything from WordPress pages to WooCommerce products, all with a user-friendly interface.

Password Protect Any WordPress Content, Your Way

With Password Protected, you can secure everything from entire websites to individual content sections while controlling exactly who gets access and how.

  • Password protect entire WordPress site

  • Password protect specific pages and posts

  • Protect WooCommerce products and categories

  • Protege tipos de contenido personalizado y taxonomías

  • Lock specific sections of content with partial content protection

  • Allow trusted user roles to bypass password screens

  • Grant access based on IP addresses

  • Create and manage multiple passwords for different users

  • Generate bypass links for password-free access

  • Vende contenido protegido usando Gravity Forms

  • Envía automáticamente por correo electrónico los enlaces de acceso tras el envío de formularios

  • Redirect users to custom pages after successful access

  • Bloquea bots con Google reCAPTCHA, hCaptcha y Cloudflare Turnstile

  • Monitor login attempts and access activity

  • Establece fechas de caducidad de contraseñas y límites de uso

  • Personaliza tu pantalla protegida con contraseña para que coincida con tu marca

  • Add an extra layer of security to your WordPress login page

¿Por qué necesitas proteger con contraseña tu sitio de WordPress?

With the rapidly rising number of cyber threats, having an effective WordPress security system for your website is essential.

Whether you’re a blogger, a business owner, or a developer, protecting sensitive information and controlling who can access the content you have created is essential. This is where the Password Protected plugin comes in.

For example, imagine you’re a photographer showcasing your portfolio. By using the Password Protect WordPress plugin, you can share your work securely with potential clients.
You can either password protect your entire portfolio page or use partial content protection to lock only certain sections, such as high-resolution images or download links. This way, you can display teasers publicly while keeping your premium work private until you’re ready to share it.

¡Lo que hace que el plugin Password Protected destaque! 😎

¿No te gustaría contar con una protección de contraseñas en WordPress que te ofrezca tranquilidad y una seguridad inmensa para tu sitio de WordPress❓

Estas son algunas de las características del plugin de protección con contraseña para WordPress que te ofrecen un gran control sobre la protección de tu contenido de WordPress a la vez que aseguran tu sitio contra accesos no autorizados.

⚡ Password Protect Entire WordPress Site With These Features:

✅ Protección completa del sitio — 💯% GRATIS

¿Quieres proteger todo tu sitio de WordPress? ¡El plugin Password Protected lo hace fácil!

With a single master password, password protect entire WordPress site to prevent unauthorized access. Also, set how long you want to use the password, define protected permission, and much more.

✅ Acceso de administrador sin contraseña

As an admin, you probably don’t want the hassle of entering additional passwords to access your site. Right?

Don’t worry. With the Password Protected plugin, you can simplify the login process for administrators with Passwordless Admin Access. This time-saving functionality enhances efficiency and security by eliminating the need for administrators to manage passwords or risk exposure to unauthorized access attempts.

✅ Google reCAPTCHA

Add an extra layer of protection to your password screen with Google reCAPTCHA (v2 & v3). It blocks automated bots and spam by requiring human verification through simple challenges like image selection or puzzle solving.

✅ hCaptcha [Pro]

Secure your password form with hCaptcha, a privacy-focused alternative to Google reCAPTCHA. It verifies human users while keeping data collection minimal, helping you block bots effectively without sacrificing user privacy.

✅ Cloudflare Turnstile [Pro]

Protect your password entry with Cloudflare Turnstile, a lightweight, user-friendly CAPTCHA solution. Unlike traditional captchas, Turnstile verifies visitors in the background, offering strong bot protection without interrupting the user experience.

✅ IP Address Whitelisting

You can specify which IP addresses can access password protected content with IP Address Whitelisting.

This feature adds an extra layer of security by preventing unauthorized access from IP addresses not included on the whitelist so that only approved users can access protected content.

✅ Protección de entradas/páginas específicas [Pro]

Do you have premium content or sensitive information that you want to restrict access to? With the Password Protected plugin, you can easily password protect pages or posts so that only authorized users can view them. This feature allows you to offer exclusive content to subscribers or conduct private testing before publication.

Check out our guide on how to password protect WordPress page the right way.

✅ User Role Whitelisting [Pro]

If you are looking for simplified access control based on user roles. The User Role Whitelisting is the solution you need. By whitelisting certain user roles for your WordPress site, such as administrators, editors, or subscribers, you can ensure that authorized users can view protected content without entering a password.

✅ Partial Content Protection [Pro]

Easily protect specific sections of your WordPress pages or posts with shortcodes. Show free previews while locking premium text, media, or downloads behind a password. Fully compatible with Elementor, Gutenberg, and Beaver Builder, letting you restrict content blocks, widgets, or sections without breaking your design. Perfect for membership sites, gated resources, and premium WordPress content protection.

✅ Page Builder Support: Elementor, Gutenberg & Beaver Builder [Pro]
Protect content directly inside Elementor, Gutenberg, or Beaver Builder. Restrict sections, blocks, or widgets without breaking layouts—ideal for WordPress content protection within page builders.

✅ Protección de WP-Admin [Pro]

Password protect wp-login (WordPress admin login page) against unauthorized access. This feature adds an extra layer of security by requiring a password to access the WP-admin dashboard, giving you greater protection against unauthorized login attempts and a WordPress brute force attack.

When you password protect WordPress login page (WP-admin area), it prevents unauthorized users from accessing sensitive site settings, user data, and administrative functions. This is particularly important for sites with multiple administrators or contributors, as it helps prevent unauthorized changes to site settings or content.

✅ Informe de actividad de intentos de contraseña (semanal)

Gain valuable insights into user interactions with your protected content (e.g., password protect pages, posts, etc.) through our exclusive Password Attempt Activity Report. This report will provide a comprehensive overview of login attempts, including successful and failed tries, browsers utilized, and recent activity logs. Whether using the Free or Pro version, this report enables you to track login attempts and user activity efficiently.

✅ Protección de tipos de contenido personalizado [Pro]

Extend your site’s security beyond standard posts and pages. The Password Protected plugin allows you to protect any custom post type, such as portfolios or testimonials, or you can even password protect WooCommerce products. The feature is extremely useful for businesses or creatives looking to share proprietary content or restrict content access to certain areas of their site.

✅ Protección de categorías y taxonomías [Pro]

Password protect categories to take control of your site’s organization and access. Using single or multiple passwords, you can lock specific WordPress categories or taxonomies, along with related post tags.

This functionality is ideal for websites with diverse content categories or membership tiers. By restricting access to certain categories, you can create exclusive areas for different user groups or offer premium/restricted content to subscribers.

✅ Exclusiones de páginas o entradas específicas [Pro]

Maintain flexibility in your WordPress site’s accessibility by excluding specific pages, posts, and post types from password protection. Whether it’s your homepage, contact page, or landing page, you can ensure that certain content remains accessible to all visitors while securing entire website content with a password.

✅ Limit Login Attempts [Pro]

Set up a limit for login attempts to protect your WordPress password protected screen against the most common WordPress attacks, such as brute force attacks. The Password Protected limit login attempts feature is a proactive measure that mitigates the risk of unauthorized access and strengthens overall site security.

✅ Caducidad de contraseña y límite de uso [Pro]

If you want to password protect WordPress pages/posts for a certain period, set expiration dates and impose usage limits to restrict the number of times a user can use the password. This will make your site more secure and make it easier to manage user access.

✅Bypass Links for Quick Access [Pro]

For passwordless access, easily create unique bypass links for each password protected post, page, WooCommerce product, or category, along with a master bypass URL for the entire site.

✅ Registros de actividad detallados

Stay informed and vigilant with detailed activity logs for every password attempt. This feature provides comprehensive insights into site activity, including IP addresses, dates, times, and login statuses, so you can easily monitor and review user interactions.

✅ Personalización de la pantalla de bloqueo en tiempo real [Pro]

Customize your password-protected screen and see every change instantly with live preview. Match your lock screen to your brand with personalized colors, styles, and design settings—all in real time.

With options to customize the background, logo, and other elements of the lock screen, you can create a cohesive and visually appealing experience for users seeking access to your protected/restricted content.

✅ Gestión de múltiples contraseñas [Pro]

Experience unmatched flexibility and control over access permissions with Multiple Password Management. You can create unlimited passwords for any lock screen. It is also easy to activate or deactivate multiple passwords for various purposes, from testing to membership management.

✅ Redirección de URL personalizada [Pro]

Direct users to the custom destination after they unlock your password-protected site. Assign a unique internal URL to each password when using multiple passwords for entire site protection.

This feature helps you send different user groups to dedicated landing pages, member dashboards, onboarding screens, special offers, private resources, or other relevant content based on the password they use.

✅ Import & Export Passwords [Pro]

For quick easy password management, import or export passwords in bulk using a CSV file, complete with usage limits, expiry, status, and more.

✅ Request Password [Pro]

Easily request access to protected content. Simply submit your email, the request is sent to the admin for review. The admin can then approve or reject the request directly from the WordPress dashboard. Upon approval, the user will receive the password to access the protected content.

✅ Gravity Forms Integration [Pro]

Sell password-protected content via Gravity Forms and automatically grant access upon successful form submission. Collect payments, registrations, lead information, contact details, or any other data before allowing users to access your protected pages, posts, categories, or entire site.

When a user submits the form, Password Protected instantly sends a secure bypass link by email. Users can access the protected content with a single click, eliminating the need to manually share passwords.

Get ✨Password Protected Pro✨ Now!

🎉 5 razones clave por las que deberías optar por Password Protected Pro

Razón n.º 1: Mejora la seguridad de tu sitio de WordPress con facilidad

Upgrade your site’s security with Password Protected Pro and get comprehensive password protection.

Easily password protect WordPress website. From specific page/post protection to WP-Admin protection and user role whitelisting, Password Protected Pro empowers you to easily secure your site against unauthorized access.

With intuitive password management features like multiple password management and detailed activity logs, maintaining security protocols becomes a seamless task, allowing you to focus on your core business objectives without compromising on protection.

Razón n.º 2: Mejor experiencia de usuario y accesibilidad

Unlock unparalleled flexibility in access control with Password Protected Pro’s advanced features. Whether you’re offering exclusive/restricted content to subscribers or conducting private testing before publication, specific page/post protection ensures that only authorized users can access sensitive information.

Meanwhile, features like Bypass URLs and certain page/post exclusions allow you to maintain accessibility for public-facing content, striking the perfect balance between security and user experience.

Reason #3: Gain Valuable Insights and Oversight

Stay informed and vigilant with Password Protected Pro’s weekly comprehensive activity reporting and logging capabilities. With the password attempt activity report, including detailed activity logs, you gain valuable insights into user interactions, login attempts, and site activity.

Estos datos prácticos te permiten supervisar los patrones de acceso, detectar posibles amenazas de seguridad y optimizar tu estrategia de control de acceso en consecuencia.

By leveraging this insight, you can proactively enhance site security, mitigate risks, and ensure compliance with privacy regulations, fostering trust and confidence among your user base.

Razón n.º 4: Gestión y administración simplificadas de contraseñas

Automate password management with Password Protected Pro’s user-friendly interface and intuitive tools.

With features like password expiration and usage limits, limit login attempts, and passwordless admin access, you can automate routine tasks, reduce administrative overhead, and ensure a smooth user experience.

With simplified access control and administration, Password Protected Pro frees up your valuable time and resources so you can focus on your core business objectives while maintaining the highest standards of security and compliance.

Razón n.º 5: Gestión sencilla de membresías

If you manage a membership site or subscription-based platform, Password Protected Pro offers the features you need to provide exclusive access to your users to maximize revenue.

With features like user role whitelisting and multiple password management, you can conveniently control access permissions for your WordPress restricted content. By simplifying WordPress content protection and ensuring seamless access for paying members, you can enhance user experience, retain subscribers, and drive sustained revenue growth.

🎉 Casos de uso para la protección con contraseña en WordPress

Caso de uso n.º 1: Ofrece contenido prémium a tus suscriptores

Unlock the full value of your premium content by offering exclusive access to subscribers with Password Protected. Securely share articles, eBooks, reports, videos, podcasts, and downloadable resources while tracking password usage and controlling access.

You can also collect payments, registrations, or lead information through Gravity Forms before granting access. After a successful submission, users receive a secure bypass link by email and can access your protected content immediately without entering a password.

With multiple passwords, bypass links, and advanced access controls, you can create a smooth experience for subscribers while protecting your premium content.

Use Case #2: Give Clients Exclusive Access to Your Portfolio

Securely showcase your portfolio to clients with Password Protected, safeguarding your work from unauthorized access. Generate unique passwords for each client, ensuring personalized access while impressing them with a custom lock screen.

Con Password Protected, puedes mantener la confidencialidad y el profesionalismo mientras compartes tus proyectos creativos.

Caso de uso n.º 3: Mantén privadas las páginas en mantenimiento

Maintain confidentiality and control over your unfinished website pages with Password Protected plugin. If you are working on a new website or updating existing pages, you can password protect pages or the entire WordPress site to keep your work private.

Generate temporary passwords with limited usage, providing secure access to administrators while keeping your work private until it’s ready for public viewing.

Caso de uso n.º 4: Crea un blog familiar privado

Configura un espacio seguro y privado para …

Capturas

Instalación

Para instalar y configurar este plugin…

  1. Sube o instala el plugin a través de tu administración de WordPress.
  2. Activa el plugin a través del menú de administración «Plugins».
  3. Configura las opciones de contraseña en los ajustes de Password Protected.

Actualizaciones

If you are upgrading manually via FTP rather that through the WordPress automatic upgrade link, please de-activate and re-activate the plugin to ensure the plugin upgrades correctly.

FAQ

¿Puede el plugin proteger con contraseña productos de WooCommerce?

Yes, you can password protect WooCommerce products or entire product categories.

¿Es visible mi contenido protegido con contraseña en los resultados de búsqueda de Google?

No, password protected content is not visible to search engines like Google. The plugin prevents search engines from indexing protected content so that it remains private and accessible only to those with the password.

Does the plugin password protect specific pages or posts?

Yes, the Password Protected plugin allows you to secure individual pages or posts. You can set passwords for specific content.

Can I whitelist certain user roles for passwordless access?

Yes, the User Role Whitelisting feature allows you to give open (passwordless) access to specific user roles without requiring a password.

What is Partial Content Protection in WordPress?

Partial Content Protection lets you lock only specific sections of a page or post while keeping the rest publicly visible. You can use shortcodes to hide premium text, images, or downloads behind a password.

How can I password protect a section of a WordPress page or post?

Simply wrap the content you want to lock with the shortcode that you generate using the Password Protected plugin. Only visitors with the correct password will be able to see it.

Can I use Partial Content Protection with Elementor or Gutenberg?

Yes! It works seamlessly with Elementor, Gutenberg, and Beaver Builder. You can protect individual blocks, sections, or widgets without breaking your page design.

Does the plugin password protect wp-admin (WordPress admin login page)?

Yes, the WP-Admin Protection feature adds an extra layer of security to the WordPress admin dashboard. It prevents unauthorized access to your wp-admin.

What if I need to exclude certain pages or posts from password protection?

The plugin allows you to exclude specific pages, posts, or post types from password protection, ensuring that essential content like your homepage or contact page remains accessible to all visitors.

Does the plugin protect against brute-force attacks?

The Limit Login Attempts feature allows you to set the number of failed login attempts, which reduces the risk of brute-force attacks and enhances your site’s security.

How can I enable feeds while the site is password protected?

En los ajustes, marca la casilla «Permitir feeds».

No puedo previsualizar mis cambios en el personalizador de temas

You must be an administrator (have the manage_options capability) and in the Password Protected settings, check the ‘Allow Administrators’ checkbox.

¿Cómo puedo cerrar sesión?

Simplemente añade la ruta «password-protected=logout» a tu URL.
P.ej. http://www.dominio.com/?password-protected=logout

He olvidado la contraseña. ¿Cómo puedo desactivar el plugin?

If you go to your WordPress admin login page /wp-login.php and it shows the admin login fields, you should still be able to login and disable the plugin.

If the admin login screen instead shows the Password Protected field, you will need to access your site via SFTP/SSH and delete the Password Protected plugin folder in the plugins folder wp-content/plugins/password-protected.

How can I get customer support?

To contact our support team, click here and fill out the form with your full name, email address, the reason for contact, and details about the issue. Our support team will generally contact you within 24 hours.

¿Cómo puedo traducir este plugin?

If you want to translate this plugin you can easily contribute to the Translating WordPress page. The stable plugin needs to be 90% translated for a language file to be available to download/update via WordPress.

Reseñas

22 de mayo de 2026
Easy to install and configure. It seems that the Support service must be good too, because as soon as I had deactivated Password Protected, I was contacted by them enquiring whether I was having problems with that module. The answer is no : it works perfectly. And the only reason I deactivated it is that the website on which it was installed no longer contains any sensitive or confidential information that requires the use of passwords. But I can recommend it to anyone looking for a simple effective way of controlling access to a website.
12 de mayo de 2026 2 respuestas
This plugin could really use an update. The create has a gorgeous PAYMENT page, but the ugliest plugin on the market. Enabling the password protection inserts an embarrassing 1999 notice inside your site. The $99/year made me laugh out loud.
3 de mayo de 2026
Super easy to use and does exactly what I needed. Clean, lightweight, and very reliable—highly recommend 👍
21 de noviembre de 2025 1 respuesta
I need a homepage public. I want to lock out everything else. This was the top result for this feature, but it is locked behind a paywall. Exclusion of a few pages should be included or at least the homepage. I am sure this is useful for some people, but I need my homepage unlocked for a project.
23 de septiembre de 2025
While it took a while to get the plugin working with my website, the support team was able to assist me through the more technical issues and it now works without a hitch!
Leer todas las 139 reseñas

Colaboradores y desarrolladores

«Password Protected — Lock Entire Site, Pages, Posts, Categories, and Partial Content» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Password Protected — Lock Entire Site, Pages, Posts, Categories, and Partial Content» está traducido en 22 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «Password Protected — Lock Entire Site, Pages, Posts, Categories, and Partial Content» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

2.8.4

  • Fixed – Captcha Validation Issue
  • Fixed – Security enhancement on behalf of CVE-2026-11995
  • Update – Feedback SDK update

2.8.3

  • Improved code optimization.

2.8.2

  • New – Added functionality to bypass page cache.
  • Improved code optimization.

2.8.1

  • Update – Tested up to WordPress 7.0.
  • Fixed – UI checkbox issue.

2.8.0

  • Tested up to WordPress 6.9.
  • Improved code optimization.

2.7.12

  • Fixed – Fix the Vulnerability issued by WordFence.
  • Fixed – Translation issue.

2.7.11

  • Fixed: Translation issue.
  • Improved code optimization.

2.7.10

  • Optimized code for better performance.
  • Feedback SDK update.

2.7.9

  • Improved code optimization.

2.7.8

  • Fixed: compatibility with WordPress 6.8
  • Added – Notice on transient/cookies settings recommended by WordFence team.

2.7.7

  • Fixed – compatibility with elementor.

2.7.6

  • Fixed: login with transient issue resolved.

2.7.5

  • Fixed: login with transient issue resolved.

2.7.4

  • New – Added functionality to login with transient if the cookies are blocked.
  • Fixed: compatibility with WordPress 6.7

2.7.3

  • New – Option to view password text in the field while entering.
  • Improvement – Preserve custom URL parameters on password protected screen.

2.7.2

  • Fix: Updated depreciated PHP function to make it compatible with the latest PHP version.
  • Added: Login designer compatibility banner.
  • Improvement: Implement few UI tweaks.

2.7.1

  • Fixed – Disabled activity report by default.

2.7

  • New: Added Password Activity Report to provide weekly insights on access attempts to your protected sites.
  • New: Added Categoric Tabs and Sub-Tabs User Interface for easy navigation and better user experience.

2.6.8

  • Fix: Gutenberg compatibility issue fixed – REST API was getting blocked

2.6.7

  • Security: Patched two security improvements suggested by Wordfence team.
  • Fix: Updated depreciated PHP function to make it compatible with the latest PHP version.
  • Compatibility: Improved compatibility with Elementor.

2.6.6

  • Improvement – Added support for HTML in the above and bottom text displayed in the password screen.

2.6.5.1

  • Ensured seamless compatibility with the latest WordPress version

2.6.5

2.6.4

  • Fixed – Added compatibility for PHP version 8.2

2.6.3.2

  • Update – Feedback library updated

2.6.3.1

  • Fix – Parse error related to PHP version 7.2

2.6.3

  • New – Added Freemius SDK integration.
  • New – Added functionality to login with transient if the cookies are blocked.
  • Fix – Fixed Redirect Issue from excluded page to password protected page.

2.6.2

  • Fix – Parse error related to PHP version 7.2

2.6.1

  • Fix – Parse error related to PHP version 7.2
  • Update – Link to official Google Re-captcha documentation

2.6.0

  • Improved admin settings interface and introduced NEW tabs structure.
  • NEW: Added Google Recaptcha v2 and v3 to make it more secure.
  • NEW: Added Password Protected top-level admin menu for ease.
  • NEW: Added option to add text above password Field.
  • NEW: Added option to add text below password Field.

2.5.3

  • Improved Settings HTML structure
  • Added Note regarding compatibility with login designer within dashboard

2.5.2

  • Made compatibility with Login Designer; Now you can customize the password-protected screen with the customizer using login designer plugin.

2.5.1

  • Fix – Author name conflict resolved

2.5

  • Deprecate wp_no_robots and replace with wp_robots_no_robots for WordPress 5.7+

2.4

  • Add a Nocache header to the login page redirect to prevent the browser from caching the redirect page. Props De’Yonte W.
  • Remove ‘password-protected’ query from redirects on successful login or logout.
  • Check «redirect_to» query var is set in hidden form field. Props Matthias Kittsteiner.
  • Añadir favicon a la página de inicio de sesión protegida con contraseña

2.3

  • Adds password_protected_cookie_name filter for the cookie name. Props Jose Castaneda.
  • Let developers override the capability needed to see the options page via a password_protected_options_page_capability filter. Props Nicola Peluchetti.
  • Don’t use a «testcookie» POST query as it is blocked by Namecheap (and possibly other hosts).
  • Fix warnings in W3 validator – script and style “type” attribute not required. Props @dianamurcia.
  • Translations now via translate.wordpress.org.
  • Updated URL references. Props Garrett Hyder.

2.2.5

  • Added password_protected_login_password_title filter to allow customizing the «Password» label on the login form. Props Jeremy Herve.
  • Fix stray «and» in readme. Props Viktor Szépe.
  • Update Portuguese translation. Props Jonathan Hult.
  • Update Russian translation. Props Alexey Chumakov.

2.2.4

  • Check that $_SERVER['REMOTE_ADDR'] is set.

2.2.3

  • Restrict REST-API-access only if password protection is active.
  • Added viewport meta tag to login page.
  • Added password_protected_show_login filter.
  • Cookie name is not editable in the admin so display just for reference.
  • Use default WordPress text domain for “Remember Me” and “Log In” buttons.

2.2.2

  • Change locked admin bar icon to green.
  • Fix REST option and always allow access to REST API for logged in users.

2.2.1

  • Fixed PHP error when calculating cookie expiration date.

2.2

  • Added admin bar icon to indicate wether password protection is enabled/disabled.
  • Option to show «Remember me» checkbox. Props Christian Güdel.
  • REST API access disabled if password not entered.
  • Admin option to allow REST API access.
  • More robust checking of password hashes.

2.1

  • Update caching notes for WP Engine and W3 Total Cache plugin.
  • Tested up to WordPress 4.8

2.0.3

  • Declare methods as public or private and use PHP5 constructors.
  • Show user’s IP address beside «Allow IP Addresses» admin setting.
  • Add CHANGELOG.md and README.md

2.0.2

  • Check allowed IP addresses are valid when saving.
  • Only redirect to allowed domain names when logging out.

2.0.1

  • Split logout functionality into separate function.
  • Security fix: Use a more complex password hash for cookie key. Props Marcin Bury, Securitum.

2.0

  • Added password_protected_logout_link shortcode.
  • Load ‘password-protected-login.css’ in theme folder if it exists.
  • Added password_protected_stylesheet_file filter to specify alternate stylesheet location.
  • Added is_user_logged_in(), login_url(), logout_url() and logout_link() methods.
  • Added Basque, Czech, Greek, Lithuanian and Norwegian translations.
  • Better handling of login/out redirects when protection is not active on home page.

1.9

  • Fixed «Allow Users» functionality with is_user_logged_in(). Props PatRaven.
  • Added option for allowed IP addresses which can bypass the password protection.
  • Added ‘password_protected_is_active’ filter.

1.8

  • Support for adding «password-protected-login.php» in theme directory.
  • Allow filtering of the ‘redirect to’ URL via the ‘password_protected_login_redirect_url’ filter.
  • Added ‘password_protected_login_messages’ action to output errors and messages in template.
  • Updated translations.
  • Use current_time( ‘timestamp’ ) instead of time() to take into account site timezone.
  • Check login earlier in the template_redirect action.

1.7.2

  • Fix always allow access to robots.txt.
  • Added ‘password_protected_login_redirect’ filter.
  • Updated translations.

1.7.1

  • Fix login template compatibility for WordPress 3.9

1.7

  • Remove JavaScript that disables admin RSS checkbox.
  • Added ‘password_protected_theme_file’ filter to allow custom login templates.
  • Add option to allow logged in users.

1.6.2

  • Set login page not to index if privacy setting is on.
  • Allow redirection to a different URL when logging out using ‘redirect_to’ query and full URL.

1.6.1

  • Language updates by wp-translations.org (Arabic, Dutch, French, Persian, Russian).

1.6

  • Robots.txt is now always accessible.
  • Added support for Uber Login Logo plugin.

1.5

  • Added note about WP Engine compatibility to readme.txt
  • Requires WordPress 3.1+
  • Settings now have their own page.
  • Fixed an open redirect vulnerability. Props Chris Campbell.

1.4

  • Add option to allow administrators to use the site without logging in.
  • Use DONOTCACHEPAGE to try to prevent some caching issues.
  • Added a contextual help tab for WordPress 3.3+.
  • Updated login screen styling for WordPress 3.5 compatibility.
  • Options are now on the ‘Reading’ settings page in WordPress 3.5

1.3

  • Added checkbox to allow access to feeds when protection is enabled.
  • Prepare for WordPress 3.5 Settings API changes.
  • Added ‘password_protected_before_login_form’ and ‘password_protected_after_login_form’ actions.
  • Added ‘password_protected_process_login’ filter to make it possible to extend login functionality.
  • Now possible to use ‘pre_update_option_password_protected_password’ filter to use password before it is encrypted and saved.
  • Ready for translations.

1.2.2

  • Show login error messages.
  • Escape ‘redirect_to’ attribute. Props A. Alagha.

1.2.1

  • Added a «How to log out?» FAQ.
  • Only disable feeds when protection is active.

1.2

  • Use cookies instead of sessions.

1.1

  • Encrypt passwords in database.

1.0

  • First Release. If you spot any bugs or issues please log them here.