• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Unable to access site via https

Conor Hill

New Pleskian
Hi all,

Apologies in advance as I am completely new to this entire area and I'm really just learning what I am doing.

I have installed a WordPress site on HTTP as it wasn't live and I was editing it.
I have since made the site live and added SSL cert to the domain using lets encrypt via Plesk CP.

But I cannot get the site to work on https at all.
I have tried adding a redirect in .htaccess and in apache directives.
In my hosting settings, SSL support is checked and the cert to use is selected as the lets encrypt one for my domain.

Any ideas?

Thanks in advance for any help,
Conor.
 
Hi all,

Apologies in advance as I am completely new to this entire area and I'm really just learning what I am doing.

I have installed a WordPress site on HTTP as it wasn't live and I was editing it.
I have since made the site live and added SSL cert to the domain using lets encrypt via Plesk CP.

But I cannot get the site to work on https at all.
I have tried adding a redirect in .htaccess and in apache directives.
In my hosting settings, SSL support is checked and the cert to use is selected as the lets encrypt one for my domain.

Any ideas?

Thanks in advance for any help,
Conor.

Hello @Conor Hill , have you change the wordpress address with https ?
You can use the extension "security advisor" to easily switch your wordpress websites from http to https.
 
Hello @Conor Hill , have you change the wordpress address with https ?
You can use the extension "security advisor" to easily switch your wordpress websites from http to https.

Hi virtubox,
Thanks for the reply. I have done that on previous occasions settings>gernerl>site Address but when I change it to https the site does not work and I cannot revert back to http?
I cannot find the "security advisor" extension, the top result when looking for it was "Sucuri Security".

I have tried using ssllabs to check if my site has a cert installed but it cannot reach the site.
I am also unable to ping my site even though ping is allowed in Plesk firewall, could this be part of the issue?

Thanks,
Conor.
 
If you want to change the WordPress installation to HTTPS after setting up a certificate, you will find the search wordpress address (URL) and "website address (URL)", which usually contain the same address.
Here it is reasonable to assume that a change of the protocol from http: // to https: // leads to success, was unfortunately not quite the case.
After the conversion, the images are still anchored in the post using the http protocol.

Post pictures and galleries are automatically converted to HTTPS. To adjust the images from the posts, a change must be made in the database.
To put these changes into perspective, there is the "Better Search Replace" plugin.
After installation and activation, you can find the plugin under "Settings"> "Replace better search" and could search for the old URL of your website with the http: // and replace it with the https: // version.

As a table you select wp_posts, where the wp_ may have been replaced with a different prefix during installation. What that looks like, you can see in the screenshot below. Then you can start the search and replace process. Here you could also make the changes that you should already make in the fields.

Now, in most cases, you should have solved the problem with mixed content. However, it may be that the theme or a plugin still cause problems, such as when a web font is included by Google, but as a log in the theme file is not https: // or // fonts. was used, but http: //. In addition to manual testing for mixed content, you can also use an online tool:

SSL-check
 
Hi virtubox,
Thanks for the reply. I have done that on previous occasions settings>gernerl>site Address but when I change it to https the site does not work and I cannot revert back to http?
I cannot find the "security advisor" extension, the top result when looking for it was "Sucuri Security".

I have tried using ssllabs to check if my site has a cert installed but it cannot reach the site.
I am also unable to ping my site even though ping is allowed in Plesk firewall, could this be part of the issue?

Thanks,
Conor.

Hello @Conor Hill , the extension "security advisor" isn't a wordpress plugin, it's a plesk extension : Security Advisor extension - Plesk
Check also in hosting settings if SSL is enabled and if the letsencrypt certificate is selected
 
Hi m3lezZ, virtubox,

Thank you, I think you right with that.
I tried the security advisor plugin that virtubox suggested (Thank you!) and when I went back to my site it was still http but some of the images and pages could not be opened,
I assume this is because they were then pointing to https?

I am waiting for someone to resolve another issue first but I will update you when I get to try resolve it.
Just to check my thought process is right:
1)Ensure SSL cert installed and supported
2)Use Better Search Replace to replace url from http:// to https://
3)Change Site Address to https:// and WordPress Address to https:// (or will using BetterSR do this it's self?)

Should I be good then?

See attached photo of what I have at the moment.

Thanks again.
Conor.Https.PNG
 
The sequence of your process should be right.

Have you activated the SSL-Secure in Plesk and installed the certificate correctly ?
 
Your issue seems to not be related to wordpress settings, but more about your plesk server settings.
Make sure SSL/TLS support is enabled in your domain > Hosting Settings :

Screenshot168.png
 
I checked the domain "manitex.ie":

No SSL certificates were found on manitex.ie. Make sure that the name resolves to the correct server and that the SSL port (default is 443) is open on your server's firewall.

Could you post a screenshot of your plesk settings?
 
Sorry for the delay getting back to you, the VPS version of the site wasn't live at that time but it is live now.SSL Check.PNG
 
Hi all,

Thanks for your help, I got the issue resolved. I had another firewall setup that I forgot about so I needed to add https through that.

Thanks for the help,
Conor.
 
Back
Top