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.

WordPress

WordPress is fast, flexible, responsive and open source. Your WordPress site can be built from the ground up to be fast, accessible and search engine friendly.

About WordPress · WordPress Posts

Related WordPress Posts

WordPress - WebP and AVIF Image Formats

An introduction to image optimisation in WordPress Northern Ireland **[Image Optimisation](/web-image-formats)** is an increasingly important step improve page speed and search engine performance of your... September 2022 · WordPress

WordPress CLI Commands

WP-CLI is the official command line tool for interacting with and managing your WordPress Northern Ireland installation in command line. WP-CLI is the command-line interface... July 2022 · WordPress

Why WordPress?

WordPress Northern Ireland is currently used by over seventy-five million websites worldwide. This is primarily thanks to its flexible, customisable and user-centered admin panel making... July 2022 · WordPress

More WordPress Posts...