Top WordPress Optimization Tips To Speed Up Your Site

wordpress optimization tips

Are you curious to know how to speed up your WordPress website? Speed matters the most, it influences everything starting from increasing traffic, decrease bounce rate to improve conversions, and improve user satisfaction, etc. In this blog, you will learn about the top WordPress optimization tips to dramatically to speed up your site. We will elaborate on why speed matters the most, and actionable measures you can take to improve your WordPress speed immediately.

Table of Contents-Top WordPress Optimization Tips

  • Why Website Speed Matters the most for your WordPress site?
  • Major factors that slow down your WordPress site
  • How website speed affects SEO – Ranking factor on Google/Bing/Yahoo
  • Use Most Popular Fast Loading Premium WordPress Themes
  • .htaccess Optimization Tips Without Plugin
  • Advantages of using a Content Delivery System (CDN)
  • Premium DNS is better than Free DNS

Why Website Speed Matters the most for your WordPress site?

Website speed is one of the most important factors that you should sort out asap. Visitors find it very frustrating and hate to stay on a website that is slow to load. They won’t return when your WordPress website loads slow for them. Please note: Quicker your site loads, longer your visitors will stay in your site.

Bounce Rate = Percentage of people that leaves your site without exploring inner pages

As a website owner, website speed is crucial to your success. Slow website speed has a negative influence on SEO and also hampers your search engine rankings.

Major factors that slow down your WordPress site

If your website is running slow, it is quite evident that you could be turning away thousands of potential customers. The biggest question: What’s causing your WordPress slowing down?

Let’s have a look at the biggest factors affecting the performance of your WordPress website.

You hosted your website on a slow server

Your website will get slowed down if you hosted your website on a slow server. A server is like an engine and it begins to load up once traffic to your website starts increasing. It happens due to low-quality web hosting with poor support. Other reasons include a lack of resources to handle the traffic.

To get rid of this issue, all you need is to migrate your website to an efficient and fast web hosting service.

Database Issues

Poor database management is one of the major reasons for the slow-down of the website. Regular updates make a database large and files are stored randomly. So, it is highly recommended to optimize the database from time to time. This reduces the server load and improves the fetching of files when a website load.

How to optimize a database table?

optimize database table

Non-Optimized Images

Images play a huge impact on site speed. Although images are a great way to turn a boring page into an interesting one, image size is large, the webpage would take more time to load. To overcome this issue, make sure to create images with appropriate image dimensions. To reduce the image size, you can use IrfanView. Moreover, WordPress users can use image compression plugins that can automatically reduce the size of all uploaded images.

Using so many Plugins

Using so many plugins play a huge impact on site speed. In order to load quickly, a webpage needs to be less in size. Use of more plugins ultimately increases the size of a website. It is highly advisable to avoid useless plugins, rather use codes for social share, follow buttons, etc.

How website speed affects SEO – Ranking factor on Google/Bing/Yahoo

Webpage loading speed is one of the major ranking factor everyone should be aware of. As a matter of fact, slow loading websites are more likely to be abandoned by users. Actually, Google uses Chrome user data to better estimate a page’s loading time and measures non-HTML related factors like account server speed and more. In 2010, Google officially announced that site speed would be factored into their search rankings. However, it is very essential to improve the overall user experience for mobile users. In research done by Google, it is found that almost 53% of websites are abandoned by users if they take more than 3 seconds to load.

Use Most Popular Fast Loading Premium WordPress Themes

It is very essential to effectively pick SEO friendly and fast loading WordPress themes as page load speed is a major Google ranking factor. According to Kissmetrics, 47% of users expect a web page to load in 2 seconds or less!

For a website to load quickly, here are the important factors:

  1. Easy navigation
  2. A theme need to be developed for SEO
  3. Clean code to avoid SEO problems

Here is the list of the fastest loading premium WordPress themes.

.htaccess Optimization Tips Without Plugin

The .htaccess file is always added to the root of a WordPress website and it can be used to improve security as well as the performance of a website.

If you have access to the root folder of your website, add the below scripts:

Gzip Compression on Apache
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

DEFLATE Compression on Apache
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE "application/atom+xml" \
"application/javascript" \
"application/json" \
"application/ld+json" \
"application/manifest+json" \
"application/rdf+xml" \
"application/rss+xml" \
"application/schema+json" \
"application/vnd.geo+json" \
"application/" \
"application/x-font" \
"application/x-font-opentype" \
"application/x-font-otf" \
"application/x-font-truetype" \
"application/x-font-ttf" \
"application/x-javascript" \
"application/x-web-app-manifest+json" \
"application/xhtml+xml" \
"application/xml" \
"font/eot" \
"font/otf" \
"font/ttf" \
"font/opentype" \
"image/bmp" \
"image/svg+xml" \
"image/" \
"image/x-icon" \
"text/cache-manifest" \
"text/css" \
"text/html" \
"text/javascript" \
"text/plain" \
"text/vcard" \
"text/vnd.rim.location.xloc" \
"text/vtt" \
"text/x-component" \
"text/x-cross-domain-policy" \
Compression on NGINX server
gzip on;
gzip_comp_level 2;
gzip_http_version 1.0;
gzip_proxied any;
gzip_min_length 1100;
gzip_buffers 16 8k;
gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_disable "MSIE [1-6].(?!.*SV1)";
gzip_vary on;
Code to enable Keep Alive and increase page speed
<ifModule mod_headers.c>
Header set Connection keep-alive
Add Expires headers to leverage browser caching
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/x-icon "access 1 year"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType audio/ogg "access plus 1 year"
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/ogg "access plus 1 year"
ExpiresByType video/webm "access plus 1 year"
ExpiresByType application/atom+xml "access plus 1 hour"
ExpiresByType application/rss+xml "access plus 1 hour"
ExpiresByType application/pdf "access 1 month"
ExpiresByType application/javascript "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType text/x-component "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType font/opentype "access plus 1 month"
ExpiresByType application/ "access plus 1 month"
ExpiresByType application/x-font-ttf "access plus 1 month"
ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/font-woff2 "access plus 1 month"
ExpiresDefault "access 1 month"
Add Cache-Control Headers to Increase Page Speed
<ifModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
<filesMatch "\.(css)$">
Header set Cache-Control "public"
<filesMatch "\.(js)$">
Header set Cache-Control "private"
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
Disable Image Hotlinking

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]

Enable mod_pagespeed – Increase Page Speed
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters rewrite_css,combine_css
ModPagespeedEnableFilters recompress_images
ModPagespeedEnableFilters convert_png_to_jpeg,convert_jpeg_to_webp
ModPagespeedEnableFilters collapse_whitespace,remove_comments
LightSpeed Server Cache
<IfModule LiteSpeed>
CacheEnable public
RewriteEngine On
RewriteCond %{HTTP_HOST} ^|| [NC]
RewriteCond %{REQUEST_URI} !login|admin|register|post|cron
RewriteCond %{QUERY_STRING} !nocache
RewriteRule .* - [E=Cache-Control:max-age=300]

Advantages of using a Content Delivery System (CDN)

working of a content delivery network

A Content Delivery Network (CDN) is an interconnected system of powerful servers that serve content to end-users with high availability and high performance. CDNs serve web objects including text, graphics, and scripts and downloadable objects like media files, software, documents, etc. It altogether improves the speed of delivery. It also provides identical content to as many users as possible even during peak usage.

What are the advantages of CDN?

  1. CDN decreases the server load as the content is spread out across several servers.
  2. Content delivery will become faster.
  3. With the use of CDNs, segmenting your audience becomes easy.
  4. CDNs lower network latency and packet loss. It delivers HD content with HQ of Service, low costs, and low network load.
  5. A CDN offer 100% availability, even with large power, network or hardware outages.
  6. A CDN can secure content through Digital Rights Management and limit access through user authentication.

Premium DNS is better than Free DNS

working of premium DNS

A domain name server is an essential part of a Domain Name System (DNS). When people search for a website in their browser, it facilitates lookups in the DNS. There are two types of DNS available viz., free DNS and Paid/Premium DNS. Let’s have a look at the major difference between free DNS and paid DNS:

  1. Premium domain name servers provide the best SLA and include 100% uptime, faster lookup speeds, increased security, more room for personalized DNS configuration, etc.
  2. It comes with better website performance and more advanced nameserver setups.

Final Conclusion:

As a website owner, you spend your precious time to give your WordPress website a boost and the above mentioned top WordPress optimization tips to speed up your site will surely help you get ample traffic, sales, better CTR, etc. For more SEO Tips, make sure to visit this website for updated posts.

Leave a Comment