Home › Forum › Amministrazione WP › Inserire logo Site Seal in pagine registrazione/login/password smarrita
-
AutorePost
-
-
6 Novembre 2010 alle 13:14 #15522Nessunowin32Partecipante
Salve, siccome ho dei buoni progetti per il mio sito e sempre più utenti si registrato ho pensato di acquistare un certificato SSL per proteggere il sito e sopprattuto le pagine di login/registrazione/password smarrita.
Tutte le azienda che forniscono i certificati SSL danno la possibilità di inserire un proprio logo che indicata all’ utente che la pagina dove si trova ora è protetta da ssl fornita dalla azienda tandeitali.
Siccome ci tengo a farlo sapere ai miei visitatori e utenti che il certificato è valido e non è fasullo intendo metterlo, solo non so dove aggiungere il codice html per far apparire l’ immagine di tale logo di questa azienda nella pagina di accesso all’ amministrazione, registrazione e per recupera la password.
Dove devo posizionare il codice?
Esiste un qualche plugins che permetta di inserire in tali pagine una porzione di codice html?
Pensavo di far apparire il logo infondo il ogni pagina subito dopo aver inserito tutti i dati per il login, registrazione, ecc… oppure inalto non so… che mi consigliate anche qui?
Ringrazio in anticipo
-
6 Novembre 2010 alle 16:12 #78341SteveAglAmministratore del forum
Il banale widget di testo permette di inserire HTML a piacere…
-
6 Novembre 2010 alle 16:51 #78343Nessunowin32Partecipante
Si ma nel sito invece io devo inserirlo nella pagina di login, li i widget non ci sono…
-
6 Novembre 2010 alle 17:02 #78344
-
6 Novembre 2010 alle 18:11 #78353Nessunowin32Partecipante
Grazie wolly solo ora ho il problema che non sono riuscito a implementare ssl in questo wordpress 3 a pesnare che prima faceva…
Ho eseguito la guida che c’ è sul sito wordpress.org per forza ssl aggiungendo la stringa di codice define(‘FORCE_SSL_LOGIN’, true);
nel file wp-config.php e o provato pure il plugins WordPress HTTPS ma nada di nada… dannazione quanto avrebbe fatto comondo il plugins Admin SSL peccato che è disaggiornato da parecchio e su wordpress 3 non funge…
-
6 Novembre 2010 alle 23:00 #78362Nessunowin32Partecipante
Ho provato con questo codice:
if($_SERVER[“REQUEST_URI”] == “/wp-login.php” && $_SERVER[“HTTPS”] != “on”) {
$newurl = “https://” . $_SERVER[“SERVER_NAME”] . $_SERVER[“REQUEST_URI”];
header(“Location: $newurl”);
echo $newurl;
exit();
}
Funziona solo mi forza la crittografia solo nella pagina “wp-login.php” come forzarla per progettere anche le sottopagine di wp-login tipo quella della registrazione, della password smarrita, del redirect del login verso una pagina, ecc…
Ringrazio ancora in anticipo
-
7 Novembre 2010 alle 10:44 #78366Nessunowin32Partecipante
Ci sono riuscito finalmente. Ecco i passaggi che ho eseguito per implementare la crittografia sul mio sito se ha qualcuno gli interessa.
1) Installare il plugins WordPress HTTPS ,una volta installato e attivato andare nel suo pannello di impostazioni su Impostazioni > WordPress HTTPS e spuntare le caselle:
– Internal HTTPS Elements (verificate che il segno della “v” ci sia di default, se non c’ è metterelo)
– Disable Automatic HTTPS
– Force SSL Exclusively
– Shared SSL (se il vostro sito ha un certificato SSL condiviso con altri siti)
Ora fate click sul pulsante “save Changes” per salvare le impostazioni
2) Lanciate il software FTP e scaricate in locale il file wp-config.php, apritelo con il blocco note e infondo a tutte le scritte/file aggiungete le seguenti stringhe di codice:
if($_SERVER[“REQUEST_URI”] == “/wp-login.php” && $_SERVER[“HTTPS”] != “on”) {
$newurl = “https://” . $_SERVER[“SERVER_NAME”] . $_SERVER[“REQUEST_URI”];
header(“Location: $newurl”);
echo $newurl;
exit();
}
if($_SERVER[“REQUEST_URI”] == “/wp-login.php?action=register” && $_SERVER[“HTTPS”] != “on”) {
$newurl = “https://” . $_SERVER[“SERVER_NAME”] . $_SERVER[“REQUEST_URI”];
header(“Location: $newurl”);
echo $newurl;
exit();
}
if($_SERVER[“REQUEST_URI”] == “/wp-login.php?action=lostpassword” && $_SERVER[“HTTPS”] != “on”) {
$newurl = “https://” . $_SERVER[“SERVER_NAME”] . $_SERVER[“REQUEST_URI”];
header(“Location: $newurl”);
echo $newurl;
exit();
}
Salvate il file facendo click su File > Salva e ricaricate il file nel sito sovrascrivendo già quello esistente
Finito, ora nella pagina di login, registrazione, recupero password e in tutta la pagina di amministrazione (wp-admin) avrete la crittografia SSL.
PS: Se avete un plugins tipo Minimeta Widget ricordatevi di disabilitare il Redirect che lui inserisce di default
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.