Force SSL Usage In The WordPress Admin – WordPress Security | WP Learning Lab




Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist:
Download our exclusive 10-Point WP Hardening Checklist:
Force SSL Usage In The WordPress Admin – WordPress Security | WP Learning Lab

define(‘FORCE_SSL_ADMIN’, true);

In this tutorial I’m going to show you how to secure your WordPress admin by forcing every signed in session to use an SSL certificate (HTTPS).

SSL certificates are hosting account add-ons you can easily buy which allow you to encrypt all the traffic on your website using what is called a Secure Socket Layer. This is the same encryption that banks use.

By forcing all signed in users to use the HTTPS protocol you are ensuring that all information based between the user and the server is encrypted.

To make this happen all you have to do is add a single line of code to your wp-config.php file. Let’s get to it.

First login into your hosting account cPanel. Then find and click on the File Manager icon and choose the Document Root for the website that you are hardening. This will open the root of the website in another tab.

You can also log into the website root using FTP if you are more comfortable with that.

In the website root folder find and open the wp-config.php file. Paste the code from the top of the entry near the bottom of the file, just above where it says, “That’s All! Stop Editing!”.

Save the file and your will have forced SSL usage in the WordPress admin.

Please note that you do need to have an SSL certificate installed on your domain, otherwise this won’t work. You can contact your webhost to purchase one or find one online by googling “SSL Certificate”.

I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.

————–

If you want more excellent WordPress information check out our website where we post WordPress tutorials daily.

Connect with us:

WP Learning Lab Channel:

Facebook:

Twitter:

Google Plus:

Pinterest:


Fuente – Source

Force SSL Usage In The WordPress Admin – WordPress Security | WP Learning Lab

Necesitas ayuda con wp? Entonces WPVideo es tu sitio.
Encuentra lo que buscas entre cientos de miles de videos y experiencias personales de otros usuarios. Todos los que empezamos con wp deberíamos tener acceso a esta web, ojalá yo hubiera tenido algo así cuando empecé mi camino como webmaster 🙂
Pero ahora quiero y puedo poner esta web a vuestra disposición.
Disfrutadla 😉

Need help with wp? Then WPVideo is your site.
Find what you are looking for among hundreds of thousands of videos and personal experiences of other users. All of us who started with wp should have access to this website, I wish I had something like that when I started my journey as webmaster 🙂
But now I want and I can put this website at your disposal.
Enjoy it 😉

https://www.wpvideo.eu

Publicado en SSL (HTTPS), Tutoriales (Tutorials), Wordpress y etiquetado .

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *