Search code examples
wordpressamazon-web-servicesbitnamiamazon-lightsail

bitnami_wordpress update for https


This one doesn't have the obvious solution! This is AWS Lightsail Wordpress by Bitnami.

Problem: Load this Wordpress site to HTTPS: http://morrisdigital.studio/ --> https://morrisdigital.studio/ (with all the css etc)

The database and UI don't match!

In the database, we have: enter image description here

Which does not match the UI: enter image description here

I tried: Updating the siteurl and home to https://morrisdigital.studio/ , then restarted the server. What happened: Nothing, of course, so I changed it back to http://127.0.0.1/wordpress/

So, WHERE is the actual place to update the links in the database?

enter image description here


Solution

  • Bitnami Engineer here,

    You can set the home and site url for WordPress in its configuration file (opt/bitnami/apps/wordpress/htdocs/wp-config.php)

    define('WP_SITEURL', 'https://morrisdigital.studio/ ');
    define('WP_HOME', 'https://morrisdigital.studio/');
    

    That change should update all the links in the application. You can find more information here:

    https://docs.bitnami.com/aws/apps/wordpress/administration/configure-domain/