SSL Issues with www and non-www records

I have used certbot LetsEncrypt for hundreds of sites and usually I go ahead and set up the certifications without a problem and everything works well.

Well this was the case until we came to a launch of a pretty big client, it was late at night and I set up the certificate and everything worked well on domain.com but next day the client was on my case as to why when he went to his site it was showing as insecure.  I was a bit puzzled and he sent me a screenshot and I see that he is writing his web url with the classic https://www.domain.com.

I went and checked this on my browser and guess what – certificate is broken.  I did not realise my error from the night before and did some investigation to the errors and finally after seeing the error that the domains did not match it fell on me that there was no certificate for www.

Using certbot there is a nice way to extend a certificate, here is the command:

sudo certbot –expand -d domain.com,www.domain.com

That fixed the problem!

Sending WhatsApp Messages from Your AMS

Challenge The challenge is integrating whatsapp messages into your AMS to be used inside Campaigns. Pre Requisites In order to get this working you will need a functional Twillio account. Solution By default the AMS comes with a standard integration into Twillio. ...

Trigger Email on New WooCommerce Order

With the AMS you have the ability to move away from the standard emails being sent out from WooCommerce.  This presents a great way to have nicer order notifications and better tracking using the AMS. Today we will focus on how this can work using MakeWebBetter Mautic...

Adding Dynamic Content to WordPress

In order to add Dynamic Content to wordpress you need to follow these directions: Enable CORS on the AMS instance to accept from the site you want the DC on. Create the Dynamic Content Make sure to make it not campaign dependable Add a Referrer Name Add in code...

Updating Mautic WhiteLabeler to correct version

Often when there is a new release of Mautic, those of us using Mautic Whitelabeller have the frustration that it is not compatible with the current version. Here are the steps to correct this: Unzip the file, then go and edit the file compare.php

SSL Issues with www and non-www records

I have used certbot LetsEncrypt for hundreds of sites and usually I go ahead and set up the certifications without a problem and everything works well. Well this was the case until we came to a launch of a pretty big client, it was late at night and I set up the...

Update Mautic 2.15.3 -> 2.16.3

I just went through a nightmare of an upgrade from an old mautic instance 2.15.3 to 2.16.3 and came accross a number of problems along the way that maybe helpful to someone some day. So as follows: Started upgrade via GUI - it just hung Went for command line upgrade...

Auto Populating a Mautic Form with information

Very often we have reasons to automatically populate a form we are sending to our customers.  There could be multiple reasons to do this, one for example is not having them fill out their email address. There is good documentation about doing this, but it is missing a...

Mautic Jump Condition – Making it work!

The Mautic jump condition is an amazing step in advanced customer journey campaigns, however there is a small bug which renders is useless (this was prevalent in versions up to 2.16.3 and I am not sure if it it is fixed in 3.x. The Problem: By adding a jump condition...

Mautic Form Shortcode not working in WordPress

Sometimes there are just frustrating things that happen when integrating different services or platforms and this is the case when it comes to calling Mautic Forms or Focus items into Wordpress. There is the WP-Mautic plugin which is great, but lacking a little in...