how to optimize your wordpress website
Is Website Speed Matters?
Let’s fix that problem to optimize your WordPress website. When someone first comes to your site, you have only a few seconds to grab their attention to make them believe.
If your site takes too long to load, most people are gone, lost before they even have a chance.
Not only that, but Google is now incorporating site speed into its standard algorithm. That means your website’s speed results in SEO, so if your site is slow, you are now losing visitors to the impatience and ranking of search engines.
1. Choose a better web hosting provider
To get the best speed, you need a well-designed WordPress hosting service that offers fast server speeds and SSD storage. You will also want to host sites that offer you at least PHP 7.2, such as A2 Hosting or SiteGround – because if you still use PHP 5.2, your website will probably be 400% slower.
If you can find a host with LiteSpeed Web Server or NGINX, preferably, as either of these two will speed up your servers. Liquid Web offers some great value proposals through NGINX, for example.
Hosting your WordPress site on a shared server is an expensive option. But because you share a server with hundreds of other websites, during busy times your page load will be affected. In most cases, shared hosting will not meet your needs.
WordPress managed hosting using cloud servers is a great way to make sure you get the functionality you need.
2. Use a lightweight WordPress theme/framework
Your WordPress theme can have a huge impact on how fast your website is, so there’s more to the decision process than choosing the one that looks best.
See the article:
- It is heavy and / or well made
- It has the features you need
- You do not optimize your wordpress website for features you will never use, or provide the option to disable unnecessary features (such as slides, drawings, and parallax documents)
3. Reduce image sizes
Images can be a major contributor to the departure of a given web page. A plan to reduce image size without compromising on quality.
If you make good images using Chrome PageSpeed Insights Extension or Photoshop or other tools, the process will take longer. Fortunately, there are plugins available for everything you can think of, including image processing. What you should talk about is:
Use any of the aforementioned plugins on your WordPress site will dramatically reduce image size, thus improving the speed of your website.
4. Minify and Compress Your Website’s Files
If you use your website with the Google PageSpeed Insights tool, you will be notified of the size of your CSS and JS files. What this means is that by reducing the number of CSS and JS calls and the size of those files, you can improve the speed of site loading.
Also, if you know your way around WordPress themes, you can read the directions provided by Google and make some adjustments. If not, then there are plugins that will help you achieve this goal; best known as Autoptimize which can help generate CSS, JS and even HTML for optimize your wordpress website.
5. Use caching mechanisms with a caching plugin
WordPress caching plugins (e.g. W3 Cache Theme) has been around for a long time, making the complex tasks of adding caching rules to your website objects easy. Combining such plug-ins with advanced backup processes such as Varnish can help you better download the speed of your website and ultimately optimize your wordpress website significantly.
Compressing files to your local computer can save a lot of disk space. Similarly, on the web, we can apply GZIP compression. This engine will dramatically reduce the bandwidth usage and the time it takes to gain access to your website. GZIP compresses various files so that whenever a visitor tries to access your website; their browser will first need to open a website. This process reduces bandwidth consumption to a large extent.
You can either use a plugin such as PageSpeed Ninja, enable GZIP compression, or add the following codes to your .htaccess file.
7. Disable pingbacks and trackbacks.
Pingbacks and trackbacks are two key WordPress features that alert you every time your blog or page gets a link. It may sound useful, but you also have something like Google Webmaster Tools and other functions to look for links to your website.
Keeping pingbacks and trackbacks on can cause an undesirable amount of suffering on your resources server. This is so because whenever someone wants to link to your site, it generates applications from WordPress back and forth. This functionality is also severely abused when referring to a website for DDoS attacks.
You can close it all in WP-Admin → Settings → Chat. Just deselect “Allow link alerts from other blogs (pingbacks and trackbacks).” This will help you speed up WordPress more.