speed up wordpress

How To Speed Up WordPress Website or Blog

Posted by

WordPress is an Famous and amazing CMS platform,Million of website active on WordPress. Even Google factors site speed into their algorithm when ranking websites. So if your site loads too slowly you can expect your Google rankings to fall.How To Speed Up Your WordPress Site.Search engines rank websites with fast-loading times higher than the slow-loading ones. So, if you want to improve your position in the SERPs, improving speed.In this guide, we will show you how to speed up WordPress by sharing our web performance strategies and recommendations.WordPress is used by 58.8% of all the websites whose content management system we know. This is 25.4% of all websites.

How Check Your Website Speed ?

  • GTmetrix
  • WebPageTest
  • PageSpeed Tools

How To Speed Up WordPress

1. Choose a good web hosting
Just Chose Fast or Good Web hosting. If you hosting Good or the best for your website then you will get more visitor. Its said to be called as incredibly slow site speed and frequent decrease down time at high traffic periods.

2. Choose SEO Optimize framework/theme
Choose a perfect optimized WordPress theme. Choose effective fast and simple theme which will keep your search engine and ranking effective.

3. Use Caching plugin
WordPress plugins are quite useful to improve page loads time,use some Cache Plugin will help you to remove Cache and improve your website speed.
W3 Total Cache
WP Super Cache
WP Rocket

4. Use a content delivery network (CDN)
There are many of your favoirte big blogs are using it and if you are in online marketing then use WordPress Make your Blog Fast and are you use of CDN’s.

5. Optimize images (automatically)
Use perfect Size Image and best plugin for an image optimizer so called as “Smush” which was drastically to reduce the size of an image without reducing its quality.

6. Optimize your homepage for quickly loading
This is one thing which has few easy things that can ensure your homepage loads up quickly.

7- Remove Query Strings from Static Resources
Edit your functions.php file to include a function that removes the query strings.
function _remove_script_version( $src ){
$parts = explode( ‘?ver’, $src );
return $parts[0];
add_filter( ‘script_loader_src’, ‘_remove_script_version’, 15, 1 );
add_filter( ‘style_loader_src’, ‘_remove_script_version’, 15, 1 );
If you are using cache plugin such as W3 Total Cache then there might be an option to avoid query strings creation.

There are some free WordPress plugins which can use to remove query strings such as Query Strings Remover” and “Remove Query Strings From Static Resources.”

8- Gzip Compression
use Gzip Compression

9-.Htaccess File
Just enable compression by adding up the following to .htaccess file.

<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml

# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
You can enable compression by adding the following to your nginx.conf file.

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;

10-Optimize WordPress database
Optimize an effective plugins for WordPress database. Just use Wp-Optimize Plugins

11-Disable hot linking and leeching of your content
Hotlinking is said to be in a form of bandwidth “Theft” which occurs on other sides to direct links for images on site from many other articles to make your server load faster. This can add up many visitors to “scrape” your website or posts specially images which is said to be more popular if you create custom images on your websites on regular basis.

Browser Caching – Add Expire Headers to WordPress Place this code in your root .htaccess file:
disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?sparringmind.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?feeds2.feedburner.com/sparringmind [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]
You’ll notice I included my feed (from FeedBurner), you’ll need to replace it with your feed’s name, otherwise your images won’t appear correctly there.

12- Add an expires header to static resources
Expires header is said to specify at time far enough in future for clients (browsers) who dont ahve to re fetch any static contents such as css file, javascript, images and many more. This way you can load time more significantly to your regular users.
You need to copy and paste the following code in your root .htaccess file:

ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
The above numbers are set for a month (in seconds), you can change them as you wish.

13- Adjust Gravatar images
You’ll notice on this site that the default Gravatar image is set to… well, nothing.

14-Prefetch Google Fonts:
<link rel=”dns-prefetch” href=”//fonts.googleapis.com”>

15-Prefetch Google Code (jQuery)
<link rel=”dns-prefetch” href=”//ajax.googleapis.com”>

16-Prefetch Google Analytics
<link rel=”dns-prefetch” href=”//www.google-analytics.com”>

17-Reduce Number of WordPress Plugins
Don’t use more plugin use Less plugin it also increase load speed.

Top  WordPress Caching Plugins To Make Your WordPress Website Faster

W3 Total Cache
WP Super CacheWP Fastest Cache
WordPress plugins to Improve Loading time of your Blog
EWWW Image Optimizer
Advanced Lazy Load
WP Smush.it
Leverage Browser Caching Ninja
Lazy Load for Videos
GZip Ninja Speed Compression
P3 Plugin Performance Profiler
Plugin Organizer
BJ Lazy Load
WP-SweepQuick Cache (Speed Without Compromise)
Zen Cache
Hyper Cache
ManageWP Worker
WP Smush
Use Google Libraries
Google Pagespeed Insights for WordPress
P3 (Plugin Performance Profiler)

Leave a Reply

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