Notes on Transferring a WordPress site to AWS

Posted in WordPress on 13 August 2020

Some notes on transferring an existing WordPress site to Amazon Web Services and some common issues.

MySQL Import Fail

If the import fails on import pointing to an issue with the ‘comment_date’ field it’ll be a SQL setting that’s causing the bother.

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";

Add the above line to the top of your SQL import script.

Set-up an SSL

sudo /opt/bitnami/bncert-tool

Run the above command in SSH and follow the instructions, you will need to have the domain pointed and propagated for this to work.

Unable to Upload Files

Fix file upload permissions

sudo chown -R bitnami:daemon /opt/bitnami/apps/wordpress/htdocs/wp-content
sudo chmod -R g+w /opt/bitnami/apps/wordpress/htdocs/wp-content

After the above file uploads will be back to normal.


There is a bit more on the standard AWS Wordpress set-up here.

Related WordPress Posts

January 2024

Creating a brand-promoting brochure website with WordPress

In today's digital age, establishing an online presence is crucial for businesses looking to promote their brand effectively. One powerful tool for achieving this is... Continue reading

November 2023

WordPress for charities and donation websites

In an era where digital presence is paramount, charities are increasingly turning to online platforms to raise awareness and funds for their causes. WordPress, with... Continue reading

July 2023

How to secure WordPress in 2023?

Securing a WordPress website involves a combination of practices, including using secure hosting configurations, regularly updating WordPress and its plugins/themes, and implementing strong security measures.... Continue reading

More WordPress Posts