Hiding the Bitnami corner banner on new Google Cloud Compute Engine instances

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:

  1. sudo /opt/bitnami/apps/wordpress/bnconfig –disable_banner 1
  2. sudo /opt/bitnami/ctlscript.sh restart apache
  3. 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:

  1. cd /opt/bitnami/apps/wordpress/conf
  2. sudo nano httpd-app.conf
  3. Comment out the following line:

    Include “/opt/bitnami/apps/wordpress/conf/banner.conf”

    to…

    # Include “/opt/bitnami/apps/wordpress/conf/banner.conf”

  4. Save changes
  5. sudo /opt/bitnami/ctlscript.sh restart apache
  6. sudo /opt/bitnami/ctlscript.sh restart nginx

That’s it! 🙂

Published by

Michael Visser

I'm a WordPress Plugin developer, UAV & Raspberry Pi enthusiast and general tinkerer. This visser.io domain serves as my development playground for non-WordPress Plugin projects.

One thought on “Hiding the Bitnami corner banner on new Google Cloud Compute Engine instances”

  1. If you use double dashes then you won’t receive any errors. Give that a go 😉

    sudo /opt/bitnami/apps/wordpress/bnconfig –disable_banner 1

Leave a Reply to Morgan Hvidt Cancel reply

Your email address will not be published. Required fields are marked *