If you have a WordPress site hosted on Amazon Web Services (AWS), it’s relatively easy to configure it to use HTTPS, so that you can facilitate  secure communication between your website and end users.

Recently, Google Chrome started listing all HTTP sites as ‘Not Secure’, which may turn visitors away, even from a simple blog site. So an additional benefit of securing your site using HTTPS is that browsers will mark it as being ‘Secure’:

The steps below are for a WordPress site hosted on an AWS EC2 Linux instance and using AWS Certificate Manager, Route 53 and Elastic Load Balancer services.

Step One:

The first thing you need to do is obtain a Public SSL Certificate, which will be used to secure network communications with your site. This is a simple process using the AWS Certificate Manager, which can be found in the Console under ‘Security, Identity & Compliance’:

Once obtained, the CNAME records will need to be added to your DNS service, which is part of the validation process – if you use AWS Route 53, this is a simple case of clicking the ‘Create record in Route 53’ button. The full process is clearly detailed in the relevant AWS user guide:


Step Two:

Once you’ve obtained the certificate and it’s status has changed from ‘Pending Validation’ to ‘Issued’, you can then create an Application Elastic Load Balancer (ALB) and configure an HTTPS listener using the certificate that you just obtained. Again, this process is well documented by AWS:


Step Three: 

One additional step that I performed was to make sure that any HTTP traffic was re-routed to HTTPS. You can achieve this under the ‘Listeners’ section of your ELB, by selecting ‘view/edit rules’ against the 80 listener ID:

Create/Edit the rule to redirect to HTTPS on port 443:

Step Four:

The next thing you need to do is update the configuration of your WordPress server to use HTTPS instead of HTTP. This is a simple case of modifying your wp-config.php file. I did this using the Nano text editor – I recommend creating a backup copy of your existing file first!

Once opened in Nano, you need to add the following lines (changing your.website.com for the address of your site):

define(‘FORCE_SSL_ADMIN’, true);

if (strpos($_SERVER[‘HTTP_X_FORWARDED_PROTO’], ‘https’) !== false)

The first line ensures that the admin pages and login are secure.
The second and third lines set the default WordPress Home and Site addresses.
The final command configures the WordPress HTTPS redirection.

These lines must all be added BEFORE the /* That’s all, stop editing! Happy blogging.*/ line – do not add them to the very end of the file:

Then restart the HTTPD service using the command ‘service httpd restart’ and test out the configuration.

Step Five:

I initially found that whilst my site was now partially secure and the certificate was showing as valid, there was some ‘mixed content’ that was preventing my site from being classed as ‘Secure’ by Chrome:

On further investigation, this turned out to be due to the image links in existing posts remaining set to http, rather than https.

For my new and very basic site, this was easily resolved by manually editing the image URL’s in the few posts that I had:

If you have a large number of existing posts and images, you would need to look into bulk modifying the relevant database entries, using a search and replace tool.

Any new images added will automatically be set to https.


The speakers in the F3x Base stereo system are powered by the head unit, which doesn’t output anywhere near enough power, especially for upgraded speakers.

I decided to go with the Alpine PDR-V75 amplifier as it provides ample power (4 x 75w + 1 x 250w @ 4ohm) and being Class D, it has a small footprint. These amps come with an individual test certificate and generally output more than the officially rated power – at 2ohm this one is 4 x 123w (stock is 100w) + 1 x  421w (stock is 350w) so a good 20% higher than rated output.

The small footprint (270mm x 165mm) allows it to be installed in the space under the first aid compartment of the F31.

The input signal for the amp comes from a Wavtech Link-D LOC, which takes the speaker level input from left and right channels and converts it to low level for the amp input. It also provides a remote power on connection to the amp. The Wavtech can be seen below, attached to the amps MDF mount:

Continue reading “BMW F31 Base Stereo Upgrade – Amplifier”


I decided to upgrade the rather poor base stereo in my 62 plate 330d touring.

Starting with the door speakers:

  • Eton 10cm mid-range
  • Alpine R series cross overs and tweeters – retained from previous car (wish the 6.5″ mids would have fit in as well!)
  • Replacement window surround trim with tweeter grille and mounting.
  • Silentcoat sound deadening on inner side of outer skin and also around the new Eton driver.
  • Crossovers set to -6dB on the tweeters to try and tame the slightly excessive highs coming out of the head unit.

Continue reading “BMW F31 Base Stereo Upgrade – Door Speakers”