header tail
core web vitals for WordPress: tips to hit the new SEO metrics

core web vitals for WordPress: tips to hit the new SEO metrics

core web vitals for WordPress: tips to hit the new SEO metrics

home / Archives for June 2021 / Page 2

The core web vitals became part of Google’s search engine rankings in May 2021. It’s now vital to maximise your WordPress site performance across these measurements to ensure you don’t lose organic traffic.

why has Google introduced the core web vitals?

The core web vitals are designed to evaluate and quantify user experience (UX) on your WordPress site. Google has added these factors to its algorithm in an attempt to keep searchers happy and give them the best possible experience when they click on search results listings.

Much of UX is about the speed at which your content appears and becomes interactive. This is important because research shows that as page loading time increases, bounce rate increases substantially. For example, a five second increase in page loading time results in a massive 106% increase in bounce rate.

Previously, some of Google’s tools to measure website UX were complex for non-developers to understand. The core web vitals aim to make things simpler and clearer, so that all website-owners can focus on the most important user experience metrics.

With the core web vitals now affecting Google rankings, website-owners are also incentivised to make their sites user-friendly and easy to interact with. Having a good user experience was always best practice in order to keep users engaged, but it’s now important for your SEO rankings – and therefore your organic traffic – too.

what are the core web vitals?

The core web vitals comprise three specific page speed and user experience measurements. Interestingly, they’re based on actual usage data (or field data), which shows how real-world users interact with your WordPress site.

As the core web vitals are included in Google’s ranking algorithm, your performance in these areas affects how highly your site is ranked in Google search results. Individual scores apply to each individual page on your WordPress website.

The three core web vitals are:

  • Largest Contentful Paint (LCP)

This is all about loading, measuring how long it takes for your largest, slowest content element – usually an image or video – to appear.

Unlike other page speed measurements, LCP focuses on the user’s perspective in terms of when they can actually see and engage with all of your content. A good score, of 2.5 seconds or less, means your website is loading rapidly for users.

  • First Input Delay (FID)

This measures interactivity, focusing on how long it takes for your website to react to a user’s first interaction. This could be by clicking a link, choosing a menu option or filling out a contact form field.

Good performance in this area, of less than 100ms, indicates that your site responds rapidly to user input. However, it’s worth noting that FID is only relevant on website pages that have interactive elements.

  • Cumulative Layout Shift (CLS)

This is a measure of your site’s visual stability. If any content moves around, such as ads or messages popping-up, then this is frustrating for users and equates to a poorer performance.

Scores begin at 0 (for no shifting), with an ideal CLS measurement being 0.1 or less. Whilst a better CLS score doesn’t actually mean your page is faster, it almost certainly feels faster to users.

how do I check my WordPress core web vitals performance?

You can check core web vitals for all of your WordPress pages in Google Search Console. Only indexed URLs are included as only these have the real-world user data necessary for scoring.

You can also check your WordPress site’s speed scores using GTmetrix and Google PageSpeed Insights. These are both free website speed-checking tools which also include suggestions to improve performance and decrease loading times.

how to improve core web vitals on WordPress

Here are our top six tips to improve your core web vitals on WordPress:

1. Optimise images and videos

Images and videos are usually the largest elements on web pages, meaning they tend to be responsible for slower site loading times and increased LCP scores.

The larger your image and video files, the more your site will be slowed down. But it’s very easy to speed things up (and improve your LCP scores) by:

  • Compressing images
  • Enabling webp versions of images, and
  • Hosting videos via third-party platforms

To compress images, we recommend installing the Smush plugin. As well as resizing imagery for quicker loading, it has a variety of other handy image optimisation features.

For example, it allows you to locate specific images that are slowing down your site, and offers lazy loading which delays the loading of images below your website’s ‘fold’ until users scroll down – both of which will be beneficial for your LCP scores.

For mobile image optimisation, it’s also well worth adding the WebP Express plugin. This re-encodes images into webp versions which load super-rapidly on most mobile browsers. With LCP scores based on real user data and more than half of internet browsing sessions taking place on mobile devices, this can offer a huge boost to your core web vitals.

With videos, it’s a good idea to host these via an external platform, such as Vimeo and YouTube. You can then embed this on your website, meaning your site will display more quickly while the third-party platform deals with loading your video.

2. Improve your hosting

How well your WordPress site loads is dependent on how quickly your hosting provider can process browser requests. It also varies depending on geographical location – as distance between your server and user increases, so will your UX and core web vitals scores.

To improve your core web vitals scores, it’s worth upgrading your hosting plan and/or upgrading your server. Contact your hosting provider or WordPress agency to find out your options.

If you have users across a variety of different locations, it may be also be worth setting up a Content Delivery Network (CDN). This is a network of servers located around the world, thus reducing the distance your website files need to travel to reach users in different locations.

The free Cloudflare plugin is one of the most popular CDN providers on WordPress. It also includes a range of other speed optimisation tools, so it’s well worth installing whether or not you use the CDN option.

3. Minify CSS, JS & HTML files

By minifying Cascading Style Sheet (CSS), HTML and JavaScript (JS) files, your WordPress site speed will improve dramatically.

These files are typically used by developers to mark-up and add comments to your website code. Minification simply means reducing the size of CSS, JS and HTML files, and removing any unnecessary code.

This reduces your website’s load time, increases UX and improves core web vitals scores whilst preserving the key information needed to display your site correctly. Minification is easy to do with a free WordPress plugin – we recommend Autoptimize and WP-Optimize.

4. Clean-up your database

As you update and add to your WordPress site, your database gets filled with information, such as previous drafts of content, deleted comments, old plugin files and more. Over time, it’s easy to end up with an overloaded database slowing down your site and reducing your core web vitals scores.

You can clean-up your database quickly and easily to improve your scores. This can be done automatically with a free plugin such as WP-Sweep or Advanced Database Cleaner, or manually via phpMyAdmin.

5. Reduce third-party scripts

Third-party scripts, such as for Google Analytics, social media or ads, are often responsible for slowing down WordPress website performance. Whilst some are crucial for website functionality, others may be unnecessary or need optimisation.

For third-party scripts slowing down your page speed, you can try:

  • Removing the script entirely
  • Removing the script on certain webpages where it’s not needed
  • Loading the script using the async or defer attribute
  • Self-hosting the script if the third-party server is slowing things down

Google has a really useful and detailed article with lots more advice on how to optimise third-party scripts, or you can contact your WordPress agency for further support.

6. Save space for slower-loading elements

Finally, to improve your site’s CLS score, you can add the width and height for your site’s images and pop-ups in your CSS.

This means browsers will save space for any slower-loading elements that would otherwise cause your website layout to shift. This therefore increases visual stability for site users and improves your CLS score.

need help optimising your WordPress site?

We’ve got loads more suggestions for optimising your WordPress site in our Ultimate WordPress Optimisation Guide. Alternatively, get in touch for on-demand WordPress support from our expert WordPress developers.

Drupal 8 end of life: how to prepare your website

Drupal 8 end of life: how to prepare your website

Drupal 8 end of life: how to prepare your website

home / Archives for June 2021 / Page 2

​ Drupal 8 is reaching end of life in November 2021. But don’t worry – as a specialist Drupal agency, we’re here to help you prepare and ensure your Drupal website keeps performing optimally…

when is Drupal 8 support ending?

Drupal 8 support is ending on 2 November 2021, when Drupal 8 reaches end of life.

why is Drupal 8 reaching end of life?

Drupal relies on third-party libraries (such as Twig, jQuery and Symfony) which all eventually become outdated and unsupported, so new versions of Drupal have to be created regularly in order to use the newer, supported versions of these dependencies.

Drupal 8 depends on Symfony 3, which is also reaching its end of life in November 2021.

what will happen to my Drupal 8 site?

The Drupal 8.9 minor release came out at the same time as Drupal 9 in June 2020. Since then, there have been no improvements or upgrades (apart from patch releases) to Drupal 8.

When Drupal 8 reaches end of life, your Drupal 8 site will continue working but may be liable to hacking or security breaches. Only Drupal 9 will have adequate security fixes after 2 November 2021.

how is Drupal 8 different to Drupal 9?

As Drupal 9 was mostly built in Drupal 8, the two Drupal versions are very similar. This is different to previously, where major Drupal version updates were completely different to the preceding Drupal version(s).

Drupal 9 has only two differences to Drupal 8 – updated dependencies and the removal of deprecated code. Other than these things, the latest Drupal 8 minor release (Drupal 8.9) is identical to Drupal 9.

how to upgrade from Drupal 8 to Drupal 9

Upgrading from Drupal 8 to Drupal 9 is a relatively simple process as the two versions are very similar.

Firstly, you need to check for and fix any deprecated APIs in your website’s code. You can use Drupal’s deprecation checking and correction tools for this.

Once your site is free of deprecated code, you just need to run update.php to upgrade it to Drupal 9.

what if I have a Drupal 7 site?

Support for Drupal 7 was also planned to end in November 2021, but this date has now been pushed back until November 2022. Drupal took the decision to support Drupal 7 for longer because of the impact of Covid-19 and the fact it’s much more complicated to switch from Drupal 7 to Drupal 9.

So there’s no need to panic, but it’s still worth starting to prepare your Drupal 7 website for next year’s end of life. In order to upgrade to Drupal 9, you will need to migrate your site entirely.

You can use the migrate module suite to re-build your site and import content. The Drupal module upgrader tool is also helpful for flagging up and converting code that requires updating.

need Drupal support?

At Pedalo, we’ve developed, supported and updated hundreds of Drupal websites. As Drupal specialists, we’re also active Acquia community partners and members of the Drupal Association.

Whether you want to upgrade to Drupal 9, add new features, fix a problem or maximise security, our expert Drupal development and Drupal support services are flexible and cost-effective.

For more expert Drupal advice, make sure to read our Ultimate Drupal Optimisation Guide.

introducing Pedalo Connector: an innovative new WordPress plugin

introducing Pedalo Connector: an innovative new WordPress plugin

introducing Pedalo Connector: an innovative new WordPress plugin

home / Archives for June 2021 / Page 2

We’re delighted to share our new WordPress plugin, Pedalo Connector.

This clever plugin has been created by Pedalo’s expert WordPress developers and automates all WordPress core, plugin and theme updates.

The plugin is controlled autonomously and remotely by another piece of software that sends instructions to the plugin about what to update and when, and reports back on progress. This means that you can ensure your WordPress website is always completely up-to-date – both without any effort and without heavy plugin elements slowing down site speed.

why WordPress updates are important

Your WordPress software (including core, plugins and themes) needs to be updated regularly to fix issues, enhance and add features, and generally improve performance.

Without updating, your site will be:

  • Vulnerable to security breaches: Older software versions have vulnerabilities which can be easily exploited by hackers. In fact, 83% of WordPress sites that are hacked don’t have updated software.
  • Performing poorly: New software is needed to keep up-to-date with the latest technology and ensure optimal speed, SEO and other key areas of performance.
  • Likely to have bugs: Updates aim to fix any technical issues or bugs as they arise. If you don’t keep software up-to-date, users are likely to encounter problems on your site, have a frustrating experience and exit without engaging.

However, it can be arduous and time-consuming to install updates manually, particularly if you have multiple plugins on your site. So that’s where Pedalo Connector comes in!

how Pedalo Connector works

Once the Pedalo Connector plugin is installed and active on your WordPress site, it automatically sends and receives two important communications each day.

Firstly, the remote software asks the plugin for an up-to-date site audit, and the plugin responds to confirm exactly what state your website is in, including WordPress core version, PHP version, plugin versions and more.

The remote software then replies with instructions on what needs to be updated. The plugin updates the WordPress core and any plugins/themes as needed and reports back to the remote software.

The crucial thing is that the remote software monitors all progress and saves results, including reporting any errors that may have occurred so they can be fixed immediately. And all of this happens automatically, 365 days a year.

downloading Pedalo Connector

Pedalo Connector has already been downloaded more than 400 times, and there are more than 100 active installations on WordPress websites.

It’s a free, open-source WordPress plugin that anyone can download, but you need a key from Pedalo HQ for the plugin to work. Keys are FREE for anyone who signs up for WordPress website support with Pedalo.

If you’d like to keep your WordPress site up-to-date every single day and ensure optimal website security and performance, please get in touch and we’ll be happy to help.

Please also check out our Ultimate WordPress Optimisation Guide and other WordPress blogs for lots of expert WordPress tips, news and advice.