Notes on transferring a WordPress site to AWS

Posted in WordPress on 13 August 2020

This post has been archived

The content of this post has not been updated since 2015, and may be out of date. Extra care should be taken with any code provided.

There's a newer version of this post: Bitnami WordPress: Reset file permissions on AWS Lightsail

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

October 2024

What's going on between WordPress and WP Engine?

The disagreement between WordPress and WP Engine has sparked considerable debate within the WordPress community and could have important implications for users of the WordPress...

Continue reading

September 2024

Combining Laravel with WordPress

Combining Laravel with WordPress offers a unique and powerful approach to web development, blending the strengths of both platforms to create highly efficient, flexible, and...

Continue reading

September 2024

Switching from WordPress to ClassicPress

Switching a WordPress website over to ClassicPress can be done smoothly with minimal impact if approached carefully. The process involves a few key steps to...

Continue reading

July 2024

Bitnami WordPress on AWS Lightsail

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...

Continue reading

April 2024

ClassicPress vs. WordPress

ClassicPress is an open-source content management system (CMS) that originated as a fork of WordPress in 2018. It was developed as a response to the...

Continue reading

November 2023

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

More WordPress Posts