Come proteggere con password una pagina in WordPress [2 metodi]

Come proteggere con password una pagina in WordPress

Se gestisci un sito WordPress, potrebbero esserci momenti in cui devi controllare chi vede contenuti specifici. A nascondere tali informazioni sensibili o creare contenuti protetti esclusivi sul tuo sito WordPress, la protezione tramite password aiuta.

In questa guida parleremo di come proteggere con password una pagina in WordPress. Esistono due semplici metodi per proteggere con password qualsiasi contenuto. Per apprendere i metodi, continua a leggere…

By default, WordPress supports applying password protection to pages on your website. But using a plugin offers more controls and advanced functionalities.

Default way to password protect a page:
Accedi alla dashboard di WordPress.
– Go to Pages → All Pages.
– Click Edit on the page you want to hide.
– In the right-hand Page settings panel, find Status.
– Click on the current status, then choose Password Protect and insert a password.
– Click Save.

ElementsKit password protect page:
Installa e attiva ElementsKit sul tuo sito
– Open your page with the Elementor editor.
– Drag the Contenuto protetto widget into your layout.
– Enter your Parola d'ordine and select the content you want to hide in the Content tab.
Stile the fields and content to match your site’s design.
– Click Pubblicare O Aggiornamento.

Overall, the ElementsKit Protected Content Widget is an advanced option to protect a page with password. It helps you create an error-free and future-proof password-protection system for WordPress pages or any specific sections.

Why Should you Password Protect a Page in WordPress?

Esistono alcuni motivi specifici per cui potresti voler proteggere qualsiasi contenuto dal pubblico o da persone specifiche. Conosciamo prima i motivi –

Sensitive information: A protected page keeps financial documents, client details, or internal plans away from unauthorized eyes.
Work in progress: It hides drafts or unfinished content from the public while sharing it with your team for feedback.
Members-only content: You can restrict premium content to paying members only.
Coming soon pages: It lets you build anticipation for a launch without exposing it to everyone.
Avoid search indexing: WordPress Password protected pages won’t appear in search results.

How to Password Protect a Page in WordPress

You can find a password protection feature in WordPress’s default system, and also use a plugin. Let’s learn the methods one by one! 

Method 1: The Default Way in WordPress

Dalla dashboard di WordPress, vai su post/pagine. Puoi creare nuovo contenuto o aprire qualsiasi contenuto esistente a cui desideri applicare la protezione tramite password.

Apri qualsiasi pagina o post per proteggere il contenuto con password

In the Gutenberg editor –

  • Trovare Status & visibility
  • Selezionare Password protected from the choices
  • Write a password in the field and update the page
Default way for password protect WordPress pages and posts

Questo è tutto! Potrebbe assomigliare a questo 👇

Creato contenuto protetto da password con la funzionalità predefinita di WordPress

Method 2: Create Password Protected Content Using a Plugin

Qui abbiamo utilizzato il plugin ElementsKit che offre a widget denominato "Contenuto protetto".

Il plugin è un popolare componente aggiuntivo per Elementor. Fornisce widget speciali, moduli, varie opzioni di personalizzazione e controllo, un'ampia libreria di design e altro ancora. Inoltre, ElementsKit è scelto da oltre 1 milione di utenti.

Installazione di ElementsKit

Inizia scaricando ElementsKit da Qui

Scarica ElementsKit da WordPress

Remember, to use the Widget Contenuto protetto ElementsKit hai bisogno di ElementsKit Pro. È facile scegliere il piano adatto a te Qui.

Non dimenticare di attivare i plugin dopo l'installazione. 👇

Attiva ElementsKit ed ElementsKit pro

To create an Elementor password protected page, you can start by creating a new content or open any existing content. Afterward, you have to click on Modifica con Elementor.

Modifica qualsiasi pagina/post con Elementor

Cerca il Widget Contenuto protetto ElementsKit e trascinalo per personalizzare.

Find and Drag and drop ElementsKit Protected Content widget

Il widget offre varie opzioni di personalizzazione. È possibile utilizzare le opzioni da Sezione Contenuto e Stile to design WordPress password protect page.

ElementsKit Protected Content

Hai fatto! ✌️

Ecco l'esempio di output che abbiamo realizzato con il file Widget Contenuto protetto ElementsKit.

Creato con successo un contenuto protetto da password dall'aspetto gradevole con il widget Contenuto protetto ElementsKit

Removing Passwords from WordPress Posts and Pages

If you have a password-protected WordPress page or post and want to remove it, no worries! Removing password protection is a breeze. Let’s walk through the quick steps to make your content public again.

Removing the Default Password Protection in WordPress

Vai alla pagina o al post in cui hai protetto i contenuti con una password. Trova visibilità e deseleziona "Protetto da password". Ora puoi selezionare tra le opzioni Pubblica e Privata, in base alle tue preferenze. Quindi, premi il pulsante "Salva" per renderlo attivo.

Rimuovi la protezione tramite password utilizzando la funzionalità predefinita di WordPress

Removing Password Protection Created by a WordPress Plugin

Rimuovere la protezione tramite password dal contenuto WordPress che hai creato con un plug-in è semplice.

  • Basta andare a quella pagina/post
  • Fai clic su Modifica con Elementor
  • Premi il pulsante destro sul widget di protezione tramite password
  • Elimina il widget
  • Aggiorna il post/la pagina

Ciò rimuove immediatamente le restrizioni sulla password. Tuttavia, verifica che sia in linea con i tuoi obiettivi di sicurezza.

Removing Password Protection Created by a WordPress Plugin

Default WordPress Password Protection vs. Plugin-Based Protection

Default (built-in)
Plugin-based

No option to share multiple passwords

You can set different passwords per user or role

No user role restrictions

You can restrict access by user role (e.g. subscriber, editor)

The password stays active until you remove it

Offer options to set automatic expiry dates and time limits

No log of who accessed the page or when

Full access logs with user and timestamp

Stores access in a browser cookie valid for 10 days

Configurable session length and cookie handling

You can’t customize the login prompt

Completamente personalizzabile

Post excerpts can still appear in RSS feeds and search results

Content is hidden completely across all feeds

You have to protect the child pages individually

Protection cascades automatically to child pages

Built-in and ready to use with zero setup

Requires installing and configuring a plugin

Completely free

Free to premium

Domande frequenti

Q1. Why consider a password protection plugin for WordPress?

Puoi utilizzare la protezione tramite password integrata di WordPress, ma per usufruire di funzionalità extra devi provare un plug-in standard. Ad esempio, il widget di contenuto protetto ElementsKit offre funzionalità come utente restrizioni sui ruoli, selezione del tipo di contenuto, impostazione di messaggi di avviso per password errate, eccetera.

Q2. How can I identify password-protected pages in WordPress?

Se hai utilizzato l'opzione di protezione tramite password integrata di WordPress per proteggere i tuoi contenuti, devi visitare le pagine/post dalla dashboard. Ora puoi facilmente identificare la pagina/post scritto "Protetto da password" con il nome del titolo.

Q3. Is Password protection all you need to protect a page?

Password Protection is a good first step, but not enough on its own. To secure a page fully, you need –
– User authentication (requires login, not just a password)
– Role-based access control
– Media file protection to block direct URL access
– HTTPS to encrypt the password in transit
– A plugin to manage sessions and revoke access when needed

Q4. How to make a WordPress site private?

Method 1: Go to Settings → Reading and enable “Discourage search engines from indexing this site” to hide it from public searches.
Method 2: For full privacy, use a plugin like WP Hide & Security Enhancer.
Method 3: Use a password protect plugin, like ElementsKit, to protect pages and posts from all visitors until they log in.

Q5. Can I protect files and images with the password protect feature?

No. The password protect feature only hides pages/posts. Anyone with a direct URL to an image or PDF can still access it.

Conclusione

In conclusione il contenuto, sebbene il sistema integrato sia una soluzione semplice, a plugin come ElementsKit offre funzionalità aggiuntive e un controllo più preciso for sure. Consider your specific needs and technical comfort level when choosing your method. Ultimately, password protection empowers you to create a secure space within your WordPress site. This way you can easily ensure sensitive information reaches the intended audience.

Componente aggiuntivo ElementsKit Elementor


Avatar Priyanka

Priyanka

WordPress Plugin Specialist, Product Documentation Expert, Gutenberg Editor Specialist

Commenti

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Sommario