Site icon Visser I/O

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! 🙂

Exit mobile version