• Hello community,

    I have installed a lamp with wordpress and all went smoothly after all the installation and the configuration of the site.
    I decided to go a step further and install let’s encrypt certificate in order to add
    https to the site.

    The site is installed in: /var/www/html/wordpress

    This was done by trying various options.
    1.Installed certbot and using the automated process with option 2 to always redirect to https.
    This resulted to not being able to reach the site and the wp-admin as well
    Managed after some tutorial to remove the certificate and have the site up and running again
    2.second attempt was to go in wp-admin general setings and input https instead http in the site url and then did the above process again ,which again failed.

    So my question is if there is a used and working guide in order to install let’s encrypt in a wordpress over lamp setup

Viewing 4 replies - 1 through 4 (of 4 total)
  • It appears you’re mixing two steps, making it difficult to troubleshoot where the problem is really occurring.

    Before EITHER of the two approaches you mentioned above, you should be able to get the https://example.com working. This could either open the same site as https://example.com (with no redirection) or the default Apache virtual host.

    You do this in your web server (Apache) configuration, totally independent of WordPress.

    It’s when you’re sure HTTPS is configured and working properly, that you worry about making sure WordPress only works with the HTTPS version (ie automatic redirect from HTTP to HTTPS).

    Hope that helps!

    Thread Starter michalis07

    (@michalis07)

    Hello George,

    Indeed you were right..i was mixing this thing.
    I managed to install this and it is working now
    Thanks a lot

    Thread Starter michalis07

    (@michalis07)

    @gappiah
    One more thing kind of a different nature
    Could you advice please why does my site has the following view after the first installation?
    https://snipboard.io/6iA5hS.jpg

    Thanks

    Hello,

    Difficult to tell without being able to look at the site…

    But it appears the site’s main stylesheet is not getting loaded. Something must be blocking it. The usual suspects are mixed content, or localhost/bad URL lingering in the database or theme.

    Use your browser’s developer console to check what’s really happening behind the scenes. Of course, if you could share your URL, I could check for you as well.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘LAMP – WORDPRESS -LET’S ENCRYPT’ is closed to new replies.