michelepizzi

Wordpress SSL

Nov 19th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. 1. effettuare il login su WordPress come amministratore
  2. 2. accedere a "settings" -> "general"
  3. 3. Riconfigurare "WordPress address (URL)" da http://mydomain.com a https://mydomain.com
  4. 4. Riconfigurare "Site address (URL)" da http://mydomain.com a https://mydomain.com
  5.  
  6. Si può migliorare ulteriormente editando il file .htaccess ed inserendo le seguenti righe:
  7.  
  8. <IfModule mod_rewrite.c>
  9. RewriteEngine On
  10. RewriteCond %{HTTPS} off
  11. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  12. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment