↑ Return to SSL

L07 Setup SSL Certificate

r.karadjov Responsible
r.karadjov
My articles
Follow on:

Page no: L07

Page no: S17e

 

 

Step1:
The SYS Admin provide us the SSL codes
explanation??
???
Step2:

We enter SSL codes VestaCP.

This is done under Web -> Editing Domain.
We enter

  • SSL Certificate
  • SSL Key
  • SSL Certificate Authority / Intermediate……………………………

Add certificate to the domain

Add certificate to the domain

Step3:
Then we must change the CRON jobs to use SSL URL , not the normal one

Changing the cron url in Vesta

Changing the cron URL in Vesta

Step4:

Then we must change the WordPress URL to force the URLs to be with SSL protocol

Wordpress protocol from non-SSL to SSL

Changing the WordPress protocol from non-SSL to SSL

Step 5:

Force the visitors to use SSL via .htaccess with a redirect rule

Redirect htaccess to HTPPS

Redirect htaccess to HTPPS

Step 6:
Force WP-admin to be accessed only by SSL
We use “FORCE_SSL_ADMIN”in wp-admin.php

FORCE_SSL_ADMIN in WP-ADMIN for SSL

FORCE_SSL_ADMIN in WP-ADMIN for SSL

Step7:

Enter SSL filters into the WordPress Functions.php

filters in functions.php for SSL

filters in WordPress functions.php for SSL

Step 8:

Change the media URL-s, to be opened by SSL. This is the recommended method by WordPress.org

Is this all media files?

Step 9:

Changing the menu image to be opened by HTTPS via Appearance -> Menus

edit url in menu 7

edit url in menu

Step 10:

Tests – If everything is done correctly, the site will be green.

done 8

 

 

See more for Server