Keywords: WordPress - Google Cloud Platform - Technical issue - Permissions
bnsupport ID: 31998131/31998131
Description:
Up until today this worked as normal.
When I defined https in wp-config.php I would open ssh and write:
sudo chmod 777 /opt/bitnami/apps/wordpress/htdocs
sudo /opt/bitnami/ctlscript.sh restart apache
I would then edit wp-config.php
I would then sudo chmod 640 /opt/bitnami/apps/wordpress/htdocs
sudo /opt/bitnami/ctlscript.sh restart apache
All was good.
Today when I needed to do it today I just get a 403 forbidden. When I put the permissions to either 777 or 775 the site and WP Amin load fine.
640 I thought was read, meaning people can visit the site fine.
Can anyone tell me the correct permissions so that the site is fine and secure please?
Many thanks in advance