Moving from a popular hosting provider – whether generic (i.e. GoDaddy) or WordPress-specific (i.e. SiteGround) – over to AWS can be a bit daunting at first (I know it was for me!). With this handy guide, however, you can get a new WordPress site up and running on an EC2 server in less than 10 minutes, getting familiar with AWS along the way.
You can get a new server setup on AWS EC2 with WordPress installed via Bitnami quite quickly and relatively easily, but actually logging into WordPress itself can sometimes stop people in their tracks.
In this quick guide I’ll show you two ways to get your password for WordPress from your AWS EC2 server.
An SSH connection gives you control over the configuration of your server. From handling folder permissions to simply removing the Bitnami banner that comes enabled as standard, you’ll need SSH access to do a lot of things.
If you’ve installed WordPress on an AWS EC2 instance using a Bitnami AMI but you don’t know how to connect via SSH, let me help you with this quick guide.
If you make use of shortcodes and widgets on your WordPress site (which is probably most of us), you might find that they don’t particularly work well together straight out of the box. For example, including a shortcode in a Text widget does not execute the shortcode itself and just displays the shortcode as text (instead of the actual output of said shortcode).
If you either don’t want to make use of the comments feature provided by WordPress – perhaps you’re using a third-party plugin like Disqus – or if you’re being really strict on the additional scripts that are being loaded for performance reasons, then just add the following snippet to your functions.php file to disable the comments script.
If you’re looking to speed up your site by reducing the number of scripts that WordPress loads then this is an easy one for you.
Much like disabling the script and stylesheet for using emojis in WordPress, this little snippet will disable the script for using embeds. For those that don’t know, embeds are when rich content is pulled through from another website, such as a YouTube video or a tweet from Twitter. By pasting a link to the video or tweet into the content editor, for example, WordPress will automatically convert this into an embedded bit of content.
If you’re looking to improve the performance of your WordPress site, there’s lots you can do. From the server it sits on to the PHP logic, they can range from the complex to the simple.
One way is to reduce the number of scripts and stylesheets that WordPress and your specific theme loads. In this case, we’re looking at disabling the script and stylesheet that allows WordPress to use emojis. For sites that don’t expect to use them, this is a no-brainer.
You’ve got some experience using WordPress; you’ve published posts and pages, customised a few things and perhaps installed some plugins. But you start to see constraints, limitations. You feel ready to dive deeper. Ready to learn a bit more about WordPress and how you can craft a unique website with your own style. Well, it’s probably time to start your WordPress development journey!