The Bitnami package for WordPress provides a quick one-click install solution for WordPress.
Once installed you'll most likely need to replace the default install with your pre-existing WordPress website. Here are a few useful commands and steps to speed up the process.
SSL Certificate
Bitnami includes a script for setting-up and installing an OpenSSL on your instance. You'll need to provide a list of the domain names, they all need to be pointing to your AWS instance. Then run the command:
sudo /opt/bitnami/bncert-tool
Database Export/Import
Databases can be easily imported through command line using a standard
mysqldump and importing the file using a mysql command.
→ MySQL Database Backup and Restore via Command Line
File Permissions & Ownership
Once you've uploaded any plugins, other than those installed via the CMS or pre-installed. Run the following commands to reset the file permissions on the files and directories you've uploaded to plugins:
sudo find /home/bitnami/stack/wordpress/wp-content/plugins -type d -exec chmod 775 {} \;
sudo find /home/bitnami/stack/wordpress/wp-content/plugins -type f -exec chmod 644 {} \;
sudo chown -R bitnami:daemon /home/bitnami/stack/wordpress/wp-content/plugins/
Same for media uploads:
sudo find /home/bitnami/stack/wordpress/wp-content/uploads -type d -exec chmod 775 {} \;
sudo find /home/bitnami/stack/wordpress/wp-content/uploads -type f -exec chmod 644 {} \;
sudo chown -R bitnami:daemon /home/bitnami/stack/wordpress/wp-content/uploads/
These permissions will allow WordPress to manage the files and create directories (e.g. automatic plugin updates).
Custom .htaccess Rules
If you need to add any custom rules that would typically be added to a .htaccess file, use the following instructions.
sudo nano /opt/bitnami/apache/conf/vhosts/htaccess/wordpress-htaccess.conf
This will open an Apache config tile where you can place your rules. First create a <Directory> tag with the location of the website's root folder. Then add your .htaccess rules as usual...
<Directory "/opt/bitnami/wordpress"> Redirect 301 /blog/ https://example.com/news/ </Directory>
The code above will 301 redirect /blog/ to https://example.com/news/
Ready to elevate your WordPress site?
Whether you're launching a new site, strengthening security, or integrating WooCommerce, I can help transform your vision into a high-performing online presence.
More WordPress posts
—
Enhancing WordPress Search: The Best Plugins and Tools for 2026
Visitors come expecting to find what they need quickly; when search fails, bounce rates climb and conversions slip. The default WordPress search leaves much to be desired, which means you…
Continue reading "Enhancing WordPress Search: The Best Plugins and Tools for 2026 "
—
WordPress plugin security auditing
In the WordPress ecosystem, plugins are the lifeblood of functionality, yet they represent the single largest attack surface for malicious actors. With thousands of new plugins submitted to the repository…
—
WordPress 6.9.1
WordPress 6.9.1, released on 3 February 2026, is a short‑cycle maintenance update that follows the major 6.9 “Gene” launch in December 2025. Rather than adding new features, this point release…
—
Choosing the right content management system
Choosing the right content management system (CMS) is one of the most consequential early decisions when building a website The content management system shapes everything from how editors publish to…
Continue reading "Choosing the right content management system"