Jump to content

Wordpress SSL


pannic12

Recommended Posts

  • 3 weeks later...
  • 2 weeks later...

Its easy to implement, some hostings has the LetsEncrypt integrated, or you can create a certificate with Letsencrypt, or another

After that, into the WP Admin Panel, the WP Address and Site Address, must have https://

Link to comment
Share on other sites

  • 4 weeks later...

A most rustic but efective way, in case you have access to your .htaccess file, is to use the mod_rewrite within your apache installation. Simply put the following:

<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

Most shared hosting companies have already automatised the SSL certificates implementation with the Let's Encrypt solution, so you just need to point the users to the https 'version' of your website.

As people told you here in this very same post, also change your main URL in the WP control panel adding https to the main address.

Link to comment
Share on other sites

  • 2 months later...
On 7/25/2018 at 11:29 AM, lilobzh said:

Add a certificat with lets encrypt for example et changer URL in admin . HTTP to HTTPS

3

The answer @lilobzh provided earlier is largely correct. To help you achieve these steps, here are some helpful tools I'm personally using as well:

  1. For the SSL certificate via Let's Encrypt: https://wordpress.org/plugins/ose-lets-encrypt/
  2. To enable and force HTTPS for all your URL's: https://wordpress.org/plugins/https-redirection/

Someone will certainly comment that this can be achieved in other ways without resorting to the use of plugins. But in the case of this question, I believe the simpler solution would be to just use these pre-existing plugins. That should be enough for OP to get started.

Edited by Stijn
Clickable links for plugins
Link to comment
Share on other sites

11 hours ago, Stijn said:

The answer @lilobzh provided earlier is largely correct. To help you achieve these steps, here are some helpful tools I'm personally using as well:

  1. For the SSL certificate via Let's Encrypt: https://wordpress.org/plugins/ose-lets-encrypt/
  2. To enable and force HTTPS for all your URL's: https://wordpress.org/plugins/https-redirection/

Someone will certainly comment that this can be achieved in other ways without resorting to the use of plugins. But in the case of this question, I believe the simpler solution would be to just use these pre-existing plugins. That should be enough for OP to get started.

Yes, this is best solution. I'm using it. ?

Link to comment
Share on other sites

If you are using CloudFlare you can do that:

Go to your domain > Crypto

Screenshot_94.thumb.png.204236ac9c4bca1d5201f96ee49a8062.png

You should see "Always use HTTPS", default will be Off. Put it to On

Screenshot_95.thumb.png.2a3b86f6814bc3f95721f499eec51b54.png

A bit lower you should see "Automatic HTTPS Rewerites", put it On also.

Link to comment
Share on other sites

A note if you don't want to switch to CloudFlare like me you can also use

https://zerossl.com/

If you do not have Let's encrypt added to your hosting.

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 4 weeks later...

You can do it with 2 solutions free:

Use SSL Encrypt or SSL from cloudflare

After do that you can force wordpress secure all pages with SSL, install the plugin Really Simple SSL.

Thats all, it ill works fine.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...