Joomla: proteggi il tuo sito Web con una password
Con Joomla puoi proteggere singole aree con una password, ma puoi anche proteggere con password l'intera pagina di Joomla. Ti mostriamo questo nelle nostre istruzioni.
Protezione con password: proteggi il sito Web Joomla con htaccess
Con l'aiuto di due piccoli file di testo, puoi facilmente proteggere un'intera directory di siti Web con una password. Quando un utente chiama l'indirizzo Internet, si apre una piccola finestra in cui deve effettuare l'accesso.
1. Crea una protezione della directory di Joomla con una password
Con un generatore online è possibile creare i file richiesti htaccess e htpasswd in pochi passaggi:
- Apri il generatore online per creare i file.
- Compila i campi con il percorso della tua directory, un nome utente e una password. Inserisci il percorso della tua pagina Joomla come percorso.
- Dopo aver compilato i campi, fare clic su "Crea file Htaccess & Htpasswd"
- Le linee corrispondenti vengono ora visualizzate. Copiali uno per uno. Per fare ciò, aprire l'editor e copiare le 4 righe di "htaccess" in un file e salvare la singola riga in "htpasswd". Salva i file individualmente con questo nome.
2. Copia i file Htaccess sul server
Dopo aver creato i due file con l'editor, è necessario caricarli sul server. Puoi farlo tramite FTP usando il programma Filezilla. Leggi qui come configurare il tuo server FTP in Filezilla.
- Carica i due file htaccess e htpasswd sul tuo server nella directory corrispondente sulla tua pagina Joomla. Assicurati quale directory hai specificato nel generatore online.
- Dopo aver caricato i file, rinominali. L'htaccess deve essere chiamato ".htaccess" e il corrispondente ".htpasswd".
- Vai alla tua pagina Joomla. Ora dovrebbe apparire una finestra di dialogo, in cui è necessario prima inserire i dati di accesso.
In altri articoli illustriamo come integrare una mappa di Google Maps o un video nel tuo sito Web Joomla.