If you install WordPress using the Bitnami stack image, a bitnami banner will appear in the bottom right corner of your WordPress or any application you installed. So how to remove this bitnami banner? Let’s understand
Disable or Remove Bitnami Banner Info from your application like WordPress etc.
Follow the steps below to remove the Bitnami information from your application like WordPress.
You can remove the bitnami banner using two methods, one is by simply executing the command, and the second is by manual editing system files. Check how you can deploy wordpress with nginx using bitnami stack.
Remove Bitnami Banner using a simple command line.
- Login to your Cloud Platform and access the SSH tunnel
- Execute the following command
sudo /opt/bitnami/apps/APPNAME/bnconfig --disable_banner 1
where APPNAME will be your application name, in our case, it is WordPress so we execute the following command. So we’ll execute the following command
sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1
- Now if you’re using the Apache webserver then restart by executing the following command.
sudo /opt/bitnami/ctlscript.sh restart apache
- For NGINX webserver, execute the following command.
sudo /opt/bitnami/ctlscript.sh restart nginx
Please keep in mind that if you want to disable the banner from any other application then change the application name in the SSH cmd line.
Remove the banner Manually
In this you’ve to connect to you VM using SSH terminal, Now execute the following command.
sudo -i cd /opt/bitnami/apps/wordpress/conf
Now nginx users execute this command.
And Apache server user can execute following command
sudo nano httpd-app.conf
here /opt/bitnami/apps/wordpress/conf is the path of your application. Now a localize a line in your apache or nginx server
comment out this line using “#”, as below.
Now Bitnami Banner will be removed for nginx or apache server application like wordpress, magento etc.