Primoz Cigler on Business and Code

I put the wrong link in the MailChimp newsletter campaign. How did I fix it within minutes?

Two days ago, I sent a newsletter campaign to about 5,000 newsletter subscribers. I usually use the ‘Replicate’ MailChimp feature. The problem is that the feature leaves the original links in the content of your campaign as well. My first advice would be that you always send yourself a test email and click through all the links. But because you are reading this, most probably it’s too late.

After sending the newsletter I’ve realized that the CTA link is pointing to the wrong URL (to the blogpost instead of the pricing page).

This is me realizing what I did:

How to fix it?

Once the emails are delivered, there is no way back of undoing it. However, if you are linking to your website you have a control over your links, so you can make a redirection.

Moreover, if you are using the ‘Google Analytics link tracking’ feature, which adds UTM parameters to your links, the links pointing to your website are unique so you can distinguish between a regular blogpost link and a link coming from the newsletter campaign.

Nginx redirection

Combining the Nginx locationif, and return directives you can make a 301 redirection for your links like so:

location = /blog/your-mistaken-url-slug/ {
  if ($arg_utm_campaign = 'your-utm-campaign-name') {
    return 301;

This way you only redirect the links coming from your newsletter and leaving the original blogpost intact. The extra feature is that even the UTM parameters are preserved.

WordPress plugin solution

If you’are not a techy guy, I found this blogpost by Tony Cosentino where he explains how to use the WP plugin to handle the redirection.

Using the Nginx method above I was able to fix it almost immediately before the majority of recipients saw and clicked the link. I hope this article saves your campaign as well! 😉

You should follow me on twitter, here.



A software engineer transitioning to a digital marketer and entrepreneur. Walking the talk. Windsurfer, digital nomad.
  • This made me smile 🙂
    If only I knew this when I started to do email marketing…
    Usually I would have stopped the campaign right after pushing the send button 🙂 If i discovered quick enough.

    Also, it is a good practice to just schedule the campaign, after you send multiple test emails.