By default new Bitnami instances show a corner banner on all pages. To remove this connect to your Google Cloud Compute Engine instance via SSH and enter the following commands:
- sudo /opt/bitnami/apps/wordpress/bnconfig –disable_banner 1
- sudo /opt/bitnami/ctlscript.sh restart apache
- sudo /opt/bitnami/ctlscript.sh restart nginx
That should be it. If you get the terminal error “Error: There has been an error.” running the bnconfig command try the following:
- cd /opt/bitnami/apps/wordpress/conf
- sudo nano httpd-app.conf
- Comment out the following line:
Include “/opt/bitnami/apps/wordpress/conf/banner.conf”
to…
# Include “/opt/bitnami/apps/wordpress/conf/banner.conf”
- Save changes
- sudo /opt/bitnami/ctlscript.sh restart apache
- sudo /opt/bitnami/ctlscript.sh restart nginx
That’s it! 🙂