When you launch a Bitnami WordPress AMI on AWS, it has a bitnami banner in below right corner. To remove or delete Bitnami banner, we can follow 2 different ways. In this article, I will share 2 different ways to remove bitnami banner from WordPress blog which may hosted on AWS Lightsail, Digital Ocean, or any other hosting services. So, let’s dive in.
Steps to Remove Bitnami Banner from WordPress Site,
There are two ways to remove the banner from the WordPress blog hosted on AWS EC2 instance, or LightSail server. The first approach is removing the bitnami banner using SSH to the ec2 instance and second approach is by just hiding using CSS modifications.
Step 1: SSH to the Bitnami EC2 instance or AWS Light Sail Instances or Cloud Hosting.
First, you have to connect to the EC2 instance using your serverkey and the IP of the instance.
$ ssh -i example.pem bitnami@12.34.56.78
Now run the following command to disable the banner.
$ sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1
After disabling the banner, restart the server again.
$ sudo /opt/bitnami/ctlscript.sh restart
Step 2: Hide the banner using custom CSS
You can hide the Bitnami banner page using custom CSS. Add the following line to the custom CSS field.
$ bitnami-banner {display:none;}
Conclusion
By following above mentioned ways, you can easily remove Bitnami Banner from WordPress blog. Do, let us know, which way is more eaiser for you on the comment section. If you like this article, please share.