Do you want to speed up your WordPress site? Fast loading pages improve user experience, increase page views and help with your WordPress SEO. In this article, we will share the most helpful WordPress speed optimization tips to boost WordPress performance and speed up your website.

wordspress acceleration

Why is speed important to your WordPress site?

Studies show that you have very little time to show users your content and convince them to stay on your site.

A slow site means that users will likely leave your site before it loads.

According to StrangeLoop's case study involving Amazon, Google and other larger websites, a 1-second slow page load time can result in a loss of 7% of conversions, an 11% decrease in page views and a 16% decrease in level. customer satisfaction.

On top of that, Google and other search engines have started penalizing sites slower by pushing them down in search results, which means lower traffic for slow websites.

In short, if you want to get more traffic, subscribers and revenue from your website, then you have to make your WordPress site really fast.

How to check the speed of your WordPress website?

Often beginners think that their website is fine just because it doesn't feel slow on their computer. It was a big mistake.

Because you frequently visit your own website, modern browsers like Chrome store your website in buffers and automatically fetch them before you start typing the address. This makes your site load almost instantly.

However, a normal user visiting your site for the first time may not have the same experience.

In fact, users in different geographical locations will have a completely different experience.

This is why we recommend checking your site speed with a tool like check WordPress speed by IsItWP.

It is a free online tool that allows you to check the speed of your website.

check website speed

After you run your website speed test, you might be wondering what is a good site speed I should aim for?

A good page load time is under 2 seconds.

However, the faster you can do it the better. A few milliseconds of improvement here and there could add up to half or even a second from your download time.

What slows down your WordPress site?

Your speed test report will probably have many recommendations for improvement. However, most of them are technical jargon that is very difficult for beginners to understand.

Understanding what is slowing down your website is key to improving performance and making smarter long-term decisions.

The main causes for a slow WordPress site are:

  • Web Hosting – When your web host is not configured properly, it may affect your site speed.
  • WordPress configuration – If your WordPress site does not serve cached pages, it will overload your server, thus causing your website to be slow or completely shut down.
  • Page size – Mostly images are not optimized for the web.
  • Bad plugin – If you are using a poorly coded plugin, then it can significantly slow down your website.
  • External scripts – External scripts like ads, font loaders, etc. can also have a huge impact on your site's performance.

Now that you know what is slowing down your WordPress site, let's see how to speed up your WordPress site.

1.Optional hosting for faster WordPress.

Your WordPress hosting service plays an important role in website performance. A good sharehost service provider will take additional measures to optimize your website performance.

However, on shared hosting, you share server resources with many other customers. This means that if your neighboring site has a lot of traffic, it can affect overall server performance, which will slow down your site.

On the other hand, if you use wordpress and choose a WordPress hosting hosting package it will be better because the manager will give you the most optimized server configuration to run WordPress. The managed WordPress hosting companies also offer automatic backups, automatic WordPress updates and more advanced security configurations to protect your site.

2. Install the WordPress Cache Plugin to speed up wordpress

Dynamic WordPress pages. These mean they are built quickly every time someone visits a post or page on your site.

To build your pages, WordPress has to run a process to find the information you need, put it all together, and then display it to your users.

This process involves a lot of steps and it can really slow down your website when you have many people visiting at the same time.

That's why we recommend every WordPress site to use hosting plugins. Caching can make your WordPress site anywhere from 2 to 5 times faster.

READ  رابطة شبكة الويب العالمية W3C - IT MAN

This is how it works.

Instead of going through the entire page creation process each time, your cache plugin creates a copy of the page after the first load, then serves that cached version to every subsequent user. .

How web page cache works

As you can see in the graphic above, when a user visits your WordPress site, your server will retrieve information from your MySQL database and PHP files. Then, it combines it all together into HTML content that is served to the user.

It's a long process, but you can skip a lot of processes when you use caching instead.

There are many good WordPress cache hosting plugins available, if possible plugin WP Rocket (premium) or use the free cache plugin.

If you are using a WordPress Manager hosting provider, then you don't need the hosting plugin because it is built-in and enabled by default.

3.Optimizing images for faster page loading speed.

Optimize images for faster page loading speed

Images revitalize your content and help increase engagement. Researchers have found that using color images makes people 80% more likely to read your content.

However, if your images are not optimized, they may hurt more than help. In fact, non-optimized images are one of the most common speed issues we see on beginner websites.

Before you download images directly from your phone or camera, we recommend using photo editing software to optimize your images for the web.

In original format, these photos can have very large file sizes. But based on image file format and degrees compressed which you choose in your editing software, you can reduce your image size to a maximum of 5x.

Two common image formats that people are using are: JPEG and PNG.

Now you may be wondering: what is the difference?

Yes, image format PNG is uncompressed. When you compress an image, it loses some information, so an uncompressed image will be of higher quality with more detail. Its drawback is that the file size is larger, so it takes longer to load.

Other way, JPEG is a compressed file format that reduces image quality a bit, but is significantly smaller in size.

So how do we decide which image format to choose?

  • If our photos or images are different colors, then we use JPEG.
  • If it's a simpler image or we need a transparent image, then we use PNG.

You should use the JPG format more than PNG.

Actually, the two formats above is not the most optimal way. Now there is a new image format, WEBP, which has better compression and better quality than those two. However, WEBP format is not yet popular in image editors and converters … and some browsers still do not support it.

There is a way to optimize images for website format WEBP wordpress invite you to refer to the article converting images into webp format on wordpress.

* Best WordPress performance optimization practices

After installing a cache and optimizing your images, you'll notice that your site will start loading a lot faster.

But if you really want to keep your site as fast as possible, you'll need to use the best practices listed below.

These tips aren't too technical, so you don't need to know any code to implement them. But using them will prevent common problems that will slow down your site.

4. Always update your WordPress site

Update wordpress

As a well-maintained open source project, WordPress is updated regularly. Each update will not only provide new features, but also fix security issues and bugs. Your WordPress themes and plugins may also have regular updates.

As a website owner, it's your responsibility to keep your WordPress site, themes, and plugins updated to the latest versions. Not doing so can make your site slow and unreliable, and put you at risk of security threats.

5.Optimize background process

Background processes in WordPress are scheduled tasks that run in the background of your WordPress site. Here are some examples of background tasks that run on WordPress websites:

  • WordPress backup plugin task
  • WordPress cron job to publish posts on schedule
  • WordPress cron job to check for updates
  • Search engines and other crawlers are trying to fetch content

Tasks like recurring jobs for posts and scheduled updates have minimal impact on site performance.

However, other background processes such as search engine backup and data collection plugins may slow down the site.

For backup plugins, you need to make sure that your WordPress backup plugin only runs during low traffic times on your website. You also need to adjust the backup frequency and data to back up.

For example, if you are creating a complete daily backup while you only publish new content twice a week, then you need to adjust that.

6. Use excerpts on Home and Archive

use excerpts

By default, WordPress displays the full content of each article on your homepage and archives. This means your homepage, categories, tags, and other archives will load more slowly.

Another downside of displaying full posts on these pages is that users do not feel the need to access the actual article. This can reduce your page views and the time your users spend on your site.

To speed up the loading time for archived pages, you can set your site to display snippets instead of the entire content.

7. Split comments into pages

paging comments

Get a lot of comments on your blog posts? Congratulations! That's a great indicator. But the downside is, downloading all those comments can affect your site's speed.

READ  Essay on Lunch Box For All Classes

WordPress comes with an integrated solution for that. Just visit Settings »Discussions and check the box next to the comments for Break Break on the Options page.

Comment page break

8.Using Content Distribution Network (CDN)

Do you always remember that users in different geographical locations may experience different loading times on your site?

That is because the location of your web host may have an impact on your site speed.

For example, suppose your web hosting company has servers in the United States. A visitor also in the United States will often see faster load times than a visitor in India.

Using the Content Delivery Network (CDN), can help speed up the loading time for all your visitors.

CDN is a network made up of servers around the world. Each server hosts static files that are used to create your website.

These static files include immutable files, such as images, CSS, and JavaScript, unlike your WordPress pages, which are script files.

When you use a CDN, every time a user visits your site, they will be provided with those static files from any server closest to them. Your own web host will also be faster because the CDN is doing a lot of work.

9.Don't upload audio / video files directly to WordPress

Friend may directly upload audio and video files to your WordPress site and it will automatically display them in the HTML5 player

But you NEVER do it!

Storing audio and video will cost your bandwidth. You may be overcharged by the web hosting company or they may even shut down your site completely, even if your package includes unlimited bandwidth.

Hosting large media files also increases your backup size tremendously and makes it difficult to restore WordPress from backup.

Instead, you should use audio and video storage services like YouTube, Vimeo, DailyMotion, SoundCloud, etc. and let them solve the hard work. They have bandwidth for it!

WordPress has an integrated video embedded feature, so you can copy and paste the video URL directly into your post and it will automatically embed.

10. Use a theme optimized for speed

good subject

When choosing a theme for your website, it is important to pay special attention to speed optimization. Some beautiful and impressive themes are really poorly coded and can slow your site down.

A simple theme is better than choosing a theme filled with complex layouts, flashy animations, and other unnecessary features. You can always add those features with quality WordPress plugins.

You can choose lightweight themes and good SEO support like Genesis Framwork or flatsome …

11. Use the plugin faster

Poorly coded WordPress plugins often load a lot of bloat whether your website needs it or not. This speeds up your page loading and slows down your website.

To help you choose the best plugins, we often publish our collection of the best WordPress plugin recommendations. We pay special attention to ease of use, user experience and most importantly performance.

Read more about these Best plugin for wordpress.

In addition to our recommendations, you can run your own tests. Simply run the speed test before and after installing a plugin to compare its impact on performance.

* Tweak WordPress for faster speed (Advanced)

By using WordPress optimization best practices and the basic speed tips listed above, you will see a great improvement in your site's load time.

But every fraction of a second counts. If you want to get the fastest speed possible, then you'll want to make a few more changes.

The following tips are a bit more technical, with some requiring you to modify your website file or have a basic knowledge of PHP. You should also back up your site before making any adjustments.

12. Make long posts into pages

Readers tend to prefer longer and deeper blog posts. Longer posts even tend to rank higher in search engines.

But if you are publishing long articles with lots of images, it could hurt your loading time.

Instead, consider splitting your longer article into multiple pages.

WordPress comes with built-in functionality to do that. Just added tag in your post where you want to split it to the next page Do it again if you want to split the article on the next page. Or use page breaks in the post editor.

13. Reduce external HTTP requests

Many WordPress plugins and themes download all types of files from other websites. These files may include scripts, style sheets, and images from external resources such as Google, Facebook, analytics services, etc.

You can use some of these. Many of these files are optimized to load as quickly as possible, so it's faster than hosting them on your own site.

But if your plugins make many of these requests, it can significantly slow down your site.

You can reduce all these external HTTP requests by either disabling scripts or merging them into one file with the plugin cache.

14. Reduce database calls

Note: This step is a bit more technical and will require basic knowledge of PHP and WordPress topics.

Unfortunately, there are many poorly coded WordPress themes out there. They ignore standard WordPress practices and end up making direct database calls or too many unnecessary requests to the database. This can really slow down your server by giving it too much work to do.

READ  Add login and social sharing to WordPress with miniOrange

Even well-coded topics can have code that makes database calls just to get the basic information of your blog.

In this example, every time you see , that is the beginning of a new database call:

 language_attributes(); ?>">

 bloginfo('html_type'); ?> 
charset= bloginfo('charset'); ?>" />

You cannot blame theme developers for that. They simply have no other way to find out your website language.

But if you are customizing your site with a sub-topic, you can replace these database calls with your specific information to reduce all of those database calls.

html  xmlns="" dir="ltr">
head profile="">
meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Reviewing your original topic for cases like this can easily be replaced with static information.

15. Optimize your WordPress database

After using WordPress for a while, your database will have lots of information you may not need anymore. To improve performance, you can optimize your database to eliminate all unnecessary information.

This can be easily managed with the WP-Sweep plugin. It allows you to clean your WordPress database by deleting things like broken posts, modifications, unused tags, etc. It will also optimize your database structure with just one click.

`` Restricting revision of articles

Modify posts taking up space in your WordPress database. Some users believe that modifications may also affect some database queries run by plugins. If the plugin does not specifically exclude post modifications, it may slow down your site by unnecessarily searching for them.

You can easily limit the number of edits that WordPress keeps per post. Just add this line of code to your wp-config.php file.

define( 'WP_POST_REVISIONS',);

This code will limit WordPress to only save the last 3 revisions of each post or page and automatically remove the older revisions.

17. Disable Hotlinking and Leaching Your Content

If you are creating quality content on your WordPress site, then the sad truth is that it will probably be stolen sooner or later.

One way this happens is when other websites serve your images directly from their URLs on your site, instead of uploading them to their own server. In fact, they are stealing your web hosting bandwidth and you are not getting any traffic to show it.

Just add this code to your .htaccess file to block hot image links from your WordPress site.

#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)? (NC)
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)? (NC)
RewriteRule .(jpg|jpeg|png|gif)$ – (NC,F,L) 

Note: Do not forget to change with your own domain name.

18. Use Lazy Loading if needed

If you add lots of images, many embedded videos, and photo galleries to your blog posts, your site may be slowed down.

Instead of loading all your images and videos at the same time, lazy loading only loads the images that will display on the user's screen. It replaces all other embedded images and videos with a placeholder image.

When the user scrolls down, your website will load the image clearly displayed in the browser view area. You may be lazy to download images, videos and even comments and gravatars WordPress.

19. Use a DNS-level Website Firewall

dns firewall

A firewall plugin that helps you block brute force attacks, hacking attempts, and malware. However, not all firewall plugins are the same.

You should use a DNS level firewall like Sucuri or Cloudflare. These firewalls block bad requests even before they visit your site.

20. Fix HTTPS / SSL errors without Plugin

fix http without plugin

If you are converting your site to HTTPS / SSL, you may encounter mixed content errors.

The easiest way to fix this is to install a plugin like SSL Simple Simple. The problem, however, is that these plugins first capture all the URLs, then change them to HTTPS before sending them to the user's browser.

21. Use the latest version of PHP

WordPress is mainly written in the PHP programming language. It is server-side language, which means it is installed and run on your hosting server.

All good WordPress hosting companies use the most stable PHP version on their servers. However, maybe your hosting company is running a slightly older version of PHP.

The newer PHP 7 is two times faster than previous versions. That is a huge performance that your website must take advantage of.

If your website is using a version lower than PHP 7, ask your hosting provider to update it for you. If they can't do that, then it's time to find a new WordPress hosting company.

There are also some ways below:

We hope this article helped you learn how to improve the speed and performance of wordpress. Don't forget to check your website speed before and after following these best practices. You will be surprised that these changes will increase your WordPress performance.

Nếu bạn thích bài viết “24 thủ thuật tăng tốc wordpress” vui lòng comment bên dưới và chia sẻ cho mọi người cùng đọc. Thank you for following the article. Và nếu bạn muốn copy bài viết vui lòng trích dẫn nguồn :

Read more :

Leave a Reply

Your email address will not be published. Required fields are marked *