Trying to fix my WPHOME URL and SITEURL from http to https

Keywords: MySQL - AWS - How to - Secure Connections (SSL/HTTPS)

Description:
I’m struggling with Apache configuration. How do I force https? I tried checking the forums no answer, no helpful video. Everytime I try to run /opt/bitnami/apps/wordpress/htdocs/wp-config.php and it says no such file or directory. I do not know what to do.

I tried runnig /opt/bitnami/wordpress and it worked. OH MY GOD! I struggled. Thank fully the issue is resolved. but still can anyone from Bitnami check if my Wordpress app is secure?
I did run chmod 644 so no plugin can edit wp-config.php file after I installed w3 total cache.

Hi @ahmedsaleem5400,

To secure your WordPress site I recommend checking the following guide:

https://docs.bitnami.com/ibm/apps/wordpress/troubleshooting/enforce-security/

And make sure the file permissions are correct:

https://docs.bitnami.com/general/apps/wordpress-production-ready/administration/understand-file-permissions/

Regards,
Michiel

Can you check the screenshot and let me what I need to do?

Hi @ahmedsaleem5400,

You can try to install the WAF plugin:

https://wordpress.org/plugins/web-application-firewall/

Regards,
Michiel

It says, “We were unable to write to ~/wp-content/wflogs/ which the WAF uses for storage. Please update permissions on the parent directory so the web server can write to it.” I cannot install it. Can you tell me the exact commands to install it? what do I need to type in my server to get it installed? Thansk Michiel