One Page Zen

Web Design. Simplified.

  • Tutorials
    • Google Cloud
    • Amazon Cloud
    • Microsoft Cloud
  • Start
  • Resources

How to Remove Bitnami Banner WordPress AWS

November 14, 2020 Leron Amin 26 Comments

FacebookTweetLinkedInEmail

remove bitnami banner wordpress aws

In this tutorial I will show you how to remove the Bitnami corner banner that appears on your WordPress site after installing WordPress on Amazon AWS.

Before getting started with this tutorial, you should have already installed WordPress on Amazon AWS. For instructions on how to install WordPress on AWS, check out this tutorial.

For instructions on how to remove the corner banner once and for all, using the proper method, then follow along with this tutorial.

There are 6 steps in this tutorial:

  • 1. Create SSH Key Pair
  • 2. Convert File to .ppk Format
  • 3. Configure PuTTY
  • 4. SSH into EC2 Instance
  • 5. Disable Banner
  • 6. Restart Apache

Beginner Method:

  • Use Custom CSS

1. Create SSH Key Pair

remove bitnami banner wordpress aws
From your AWS dashboard, navigate to EC2 under the Compute column.
remove bitnami banner wordpress aws
In the left sidebar column, navigate to Key Pairs under NETWORK & SECURITY.
remove bitnami banner wordpress aws
Click the Create Key Pair button at the top of the Key Pairs page.
remove bitnami banner wordpress aws
Save the downloaded key file in a secure location on your computer.

2. Convert File to .ppk Format

remove bitnami banner wordpress aws
Open the PuTTY Key Generator application (PuTTYgen), and click the Load button to upload the key file that you downloaded in the previous step.
remove bitnami banner wordpress aws
Next, click the Save private key button.
remove bitnami banner wordpress aws
Make sure to save the file with the .ppk extension.

3. Configure PuTTY

remove bitnami banner wordpress aws
Next, open the PuTTY desktop application. This is a different application from the PuTTYgen application that was used in the previous steps. Enter your EC2 Instance’s public IP address in both the Host Name and Saved Sessions fields, then click the Save button.

NOTE: To find your EC2 Instance’s public IP address, check out step 1 of this tutorial.

remove bitnami banner wordpress aws
Next, scroll down to the Auth section of the PuTTY sidebar column under the SSH section. Click the Browse button to upload the private key file that you converted in step 2.
remove bitnami banner wordpress aws
Next, navigate to the Data section of the left-sidebar column, and enter your SSH username – which is Bitnami.

4. SSH into EC2 Instance

remove bitnami banner wordpress aws
Finally, return to the Session section of the left-sidebar menu. Highlight your instance IP under the saved sessions, click the Save button again, then click the Open button.
remove bitnami banner wordpress aws
If you are able to SSH into your EC2 instance successfully, you will see a welcome screen similar to the one shown above.

5. Disable Banner

remove bitnami banner wordpress aws
Now that you’ve connected to your instance, the next step is copy and paste the command below into the terminal.
sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1

NOTE: Use the right-click button to paste into putty.

6. Restart Apache

remove bitnami banner wordpress aws
After executing the command to disable the corner banner, execute the command below in order to restart your server – this will cause the new changes to take effect.
sudo /opt/bitnami/ctlscript.sh restart

Beginner Method

Use Custom CSS

If you’re new to AWS and require a simple solution, you can use CSS to ‘hide’ the banner.

To hide the banner, simply enter the following code in your WordPress custom CSS:

#bitnami-banner {display:none;}

Please be aware that although the corner banner is hidden, the script that generates the corner banner will still load with your website until it is properly disabled.

That’s it!

You’ve successfully disabled the Bitnami corner banner!

If you have any questions or comments about this tutorial, be sure to post them below!

Thanks,

signature

Related Posts

  • How to Migrate WordPress to AWS (Full Guide)
  • Increase 512MB Upload Limit for All-in-One WP Migration Plugin
  • The Most Important Linux Commands (With Examples)
  • How to Migrate WordPress Installations
  • How to Install WordPress on AWS
  • How to Transfer a Domain to AWS
FacebookTweetLinkedInEmail

Filed Under: Amazon Web Services, AWS WordPress Tagged With: aws, bitnami, wordpress

Comments

  1. BD Health says

    September 28, 2020 at 10:39 am

    Removing Bitnami Banner post has been so helpful to me. Thanks much

    Reply
  2. Pranab says

    May 31, 2020 at 7:33 am

    Hi,

    Greetings from India. Been following your Youtube vids lately.

    When I try to remove the Banner and run the following command, it asks for a password. The First Boot EC2 password (which is also the WordPress password), doesn’t seem to work.

    Any idea what password it is asking for? I’m on a Macbook

    Reply
    • Leron Amin says

      May 31, 2020 at 9:26 pm

      Hi Pranab,

      Did you create a password for sudo?

      What happens when you try to run other commands as sudo – do you get prompted for a password?

      Talk to you soon,
      Joe

  3. Gurpinder Singh says

    May 14, 2020 at 11:47 am

    run command to disable corner banner
    sudo /opt/bitnami/apps/wordpress/bnconfig –disable_banner 1

    but yourdomain.com/bitnami/index.html will be still accessible.

    In File /opt/bitnami/apps/wordpress/conf/httpd-app.conf
    put #/opt/bitnami/apps/wordpress/conf/banner.conf and then delete banner folder from /opt/bitnami/apps/bitnami/

    Reply
  4. Md Niyaz Hussain says

    November 25, 2019 at 11:43 pm

    OMG It’s working! Thanks for sharing this trick.

    Reply
  5. Phil says

    May 28, 2019 at 2:03 am

    Love your tutorials!! They helped me to transfer my entire website to AWS.

    Reply
    • Leron Amin says

      June 8, 2019 at 3:25 pm

      Thanks for the feedback Phil – I’m glad to hear the tutorials were helpful to you!

  6. Justin says

    May 4, 2019 at 10:09 am

    Thank you for creating this tutorial. The Bitnami banner has been removed successfully from my WordPress website.

    Reply
    • Leron Amin says

      May 20, 2019 at 6:58 pm

      Glad to hear it Justin – thanks for the feedback!

  7. Paul says

    April 7, 2019 at 6:35 pm

    I keep getting this error

    Disconnected: No supported authentication methods avaialable.

    I’ve noticed after downloading the key file the format .pem does not show up when I try to upload in to PuTTY. I end up changing the file extension before uploading as a result. Do you think that could be the reason? Also, I noticed the file you upload is named different that the one that was downloaded is that intentional? I’m just trying to identify if there’s anythign in the directions that’s causing the issue.

    Reply
    • Leron Amin says

      April 8, 2019 at 6:28 pm

      Hi Paul,

      The purpose of importing the key into PuTTY the first time around is to convert it to .ppk format. Once this is done, save the file as a .ppk file and add it to your PuTTY auth credentials. And you can name the file whatever you like – it won’t affect anything.

      Let me know if you have questions,
      Joe

  8. Kwami says

    March 16, 2019 at 7:24 pm

    I was able to migrate my wordpress from shared hosting to lightsail and also disable bitnami banner using this tutorial. Thank you!
    I am signing up for new tutorials.

    Reply
    • Leron Amin says

      March 18, 2019 at 7:07 pm

      Thanks for the feedback Kwami – I’m glad to hear the tutorials were helpful!

  9. Prakash says

    November 10, 2018 at 5:20 am

    Hello Leron,

    I successfully installed WordPress on AWS and transferred domain to AWS thanks for the details in your tutorials. While watching the video and reading the documentation on how to SSH into the EC2 instance, I believe there is a far easier way and wanted share that with you –

    Step1.

    On my Macbook terminal I opened the folder where I had saved my SSH keys and typed the command “chmod 400 new-ssh-key.pem” (This is also available in AWS EC2 Instance page)

    Step 2.

    I added the command –

    ssh -i “new-ssh-key.pem” bitnami@ ( copied from the Instance Public DNS id)

    Thats it. I followed the rest of the tutorial to include www. prefix. and remove Bitnami Banner.

    Additionally, Can you please point me to a tutorial for adding Letsencrypt SSL to this wordpress installation?

    Reply
    • Leron Amin says

      November 14, 2018 at 11:49 am

      Awesome – thanks for sharing this Prakash!

  10. Nuwan Tharanga says

    August 14, 2018 at 10:24 am

    Thanks Joe,

    This is worked for me.
    Your instructions are very clear and simple to proceed… Really appreciate it…

    Reply
    • Leron Amin says

      August 14, 2018 at 11:25 am

      Thanks for the feedback Nuwan – I’m glad to hear the tutorial was useful! 🙂

  11. alhassan sibdow says

    August 13, 2018 at 3:40 pm

    Awesome!!

    It worked. I think the screen shots are very great

    Thanks a lot

    Reply
    • Leron Amin says

      August 13, 2018 at 3:42 pm

      Thanks for the feedback Alhassan – I’m glad to hear it worked for you! 😀

  12. Henning says

    April 2, 2018 at 6:54 am

    Thank you, Leron – the CSS prompt worked well. Very helpful, thanks, again,
    Henning

    Reply
    • Leron Amin says

      April 2, 2018 at 3:01 pm

      Glad to hear it! Thanks for the feedback Henning. 🙂

  13. Bashir says

    March 5, 2018 at 12:28 pm

    Dear Leron,

    Great tutorials on AWS and GCP,
    Very detailed tutorials,
    But this particular tutorial giving errors.

    Please check this screen shot. https://s9.postimg.org/wy650ey2n/Fatal_Error.png

    Can you give me alternative solution ?

    Thing is I don’t see any Custom CSS option in my theme, I tried to search it everywhere,

    Your help would be highly appreciated.

    Regards,

    Bashir

    Reply
    • Leron Amin says

      March 5, 2018 at 6:55 pm

      Hi Bashir,

      For the sake of simplicity, I would recommend just adding the code to your custom CSS.

      From your WordPress sidebar menu, navigate to Appearance > Customize > Additional CSS.

      Just paste the CSS code in there.

      Let me know if you have any questions,
      Joe

  14. Henning says

    March 4, 2018 at 10:59 am

    Hi Leron,
    thanks a ton for your tutorial.
    For me the server does not accept the public Key and this is where I am stuck:
    “Using username “bitnami”.
    and then PuTTy Fatal Error:
    “Disconnected: No supported authentication methods available (server sent: publickey)”

    can you help there?
    thank you
    Henning

    Reply
    • Leron Amin says

      March 4, 2018 at 11:45 am

      Hi Henning,

      This is a common issue and unfortunately could be caused by multiple factors.

      I would go through the tutorial again and make sure that everything is configured properly, especially in steps 3 and 4.

      Also, you can remove the auto-login username (step 3) and try “bitnami” or “ec2-user” when you’re prompted in the terminal.

      As a quick fix, you can also disable the banner using css:

      #bitnami-banner {display:none;}

      Unfortunately, the css method won’t disable the script from running in the background.

      Let me know if you have any questions,
      Joe

  15. Leron Amin says

    December 29, 2017 at 2:51 am

    What did you think of this tutorial?
    Share your questions and comments below!

    Reply

Leave a Reply Cancel reply

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

Want Exclusive Tutorials?

Welcome to One Page Zen!

Through this blog I hope to introduce web developers to cloud computing!

author-bio

facebook-support-group kinsta-cloud-hosting

Want Exclusive Tutorials?


Contact | Sitemap | Legal | Privacy Policy | Affiliate Disclosure
      Copyright © 2017 - 2019 One Page Zen
Share this Article

Email sent!