Do you have your own website or webshop? Then you probably already know that the speed of your website or webshop is very important. What’s good to know is that a fast website is not only important for a good user experience. The speed of your website also plays an important role in how your website or webshop is searched on Google.
So, you can’t help but make your website or online store faster. Within WordPress, there are many plugins that can help you do this. One of the most popular plugins for a faster website is WP Rocket, but it can come with a problem. In this article, I’ll show you what the problem is, how it arises, and how you can solve it.
What is WP Rocket and what does it do?
Most people will already be familiar with WP Rocket. In fact, WP line database Rocket is one of the most popular plugins within WordPress that you can use to make your own website relatively easy, much faster.
Are you not familiar with WP Rocket yet? Then I can definitely recommend checking out this tool, because it can really make your website much faster. Even when you are using a heavy page builder like the Divi theme .
The fact that WP Rocket can make your website much faster is because of the following features they apply:
Page caching & browser caching
Cache preload
GZIP compression
File optimization (CSS and JavaScript)
Media Optimization (Lazy Loading, WebP converter)
With all these features, you can really make your website much faster. After installing and configuring the plugin, you should be able to pass Google 's Core Web Vitals .
What's the problem now?
As you just read, WP Rocket is a very useful tool when you want to make your website faster , but for many websites it comes with a problem. Let me explain it.
When you first start with WordPress, all of your site's URLs end with a "/". Do you enter a URL without a "/" at the end? For example, think /rank-tracker then this URL will automatically redirect to /rank-tracker/ .
What I've only just noticed is that after setting up WP Rocket, this doesn't always work. What results is that you get two pages with exactly the same content. This is because each site's URL exists both with and without a "/" at the end.