How to get a 100/100 Score in Pagespeed Insights and Pingdom in 30-minutes

The 30-Minute-Guide to a 100/100 Score on Pagespeed Insights and Pingdom

A few years ago I wrote a guide on how to get a perfect 100/100 score on Pagespeed Insights, Pingdom and GTMetrix. A lot of time has passed since then. The rules have changed and I’ve learned new, easier ways to optimize my WordPress blog. In this post I’ll show you an updated approach to completely optimize your blog using a few efficiënt, easy to use plugins.

Continue reading…

Host Google Fonts Locally

How to Locally Host Google Fonts and Leverage Browser Caching

Google Fonts. Every WordPress blogger uses them. It’s an easy — if not the easiest — way to improve your blog’s looks. Pagespeed Insights. We’ve all heard of that too. And we all want to achieve the highest possible score. Both are brought to you by the same entity we’ve come to know, love — and hate: Google. Love, because they gave us these beautiful fonts. Hate, because as soon as we use them, it lowers our score on Pagespeed Insights!

Today I’m showing you how you can achieve the best of both worlds:

  1. Maintain your high score on Pagespeed Insights by leveraging your browser cache, and
  2. Keep using your Google Fonts by hosting them locally.

And I promise you, it couldn’t be easier.

Continue reading…

Swatches - Redirect Simple Product to Configurable Product

Redirect Simple Products to their Configurable Parent with Attributes Pre-selected in Magento 2

About two years ago I wrote a tutorial on how to redirect simple products to their configurable parents with pre-selected attributes in Magento 1.9.x. Shortly after that Magento 2 was released and I’ve received some requests on how to do the same in the new version.

In this post I will explain to you how to build a module that will redirect simple products to their configurable parent product with automatically pre-selected configurable attributes.

Continue reading…

Fix Uncaught TypeError UpdateData

Fix ‘Uncaught TypeError: Cannot read property ‘updateData’ of undefined’ in Magento 2

Many people have complained on Magento Dev’s Github about a bug in Magento 2, which occurs when you try to pre-select configurable attributes by parsing the URL. It triggers an Uncaught TypeError in your console and causes all Javascript execution to crash, causing the image gallery not be updated. In this tutorial I’ll show you how to squash this bug.

Continue reading…