In the industry of blogging, every blogger is fighting and competing for that no.1 spot in google for the particular keyword. there are many factors which give them that place like SEO, backlinks, Domain authority, and website speed the most important thing in getting that place, Google takes website speed as the most important factor in ranking the website in the top list. in this post, I am going to explain the important points to speed up your Wordpress blog.
To serve you visitors faster experience your server needs to respond in 0.1secs. to get that speed your web hosting need to be good in uptime and scalability. in my previous I explained about best web hosting company. now how you can speed your response time, you just redirect your hostnames to CDN(Content Delivery Network) like Cloudflare. in my previous post I gave information about Cloudflare, check out my post and redirect your servers.
there are some elements in your backend of your which may speed up your website. go to your website cpanel, and open file manager and open .htaccess file and paste code.
1)Gzip compression on apache
# TN START GZIP COMPRESSION 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.* # TN END GZIP COMPRESSION
20DEFLATE Compression on Apache
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/vnd.ms-fontobject" \ "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/vnd.microsoft.icon" \ "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" \ "text/xml" # END DEFLATE COMPRESSION
3)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;
4)Enable Browser Caching
# TN - START EXPIRES CACHING # 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 application/pdf "access 1 month" ExpiresByType application/javascript "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresDefault "access 1 month" # TN - END EXPIRES CACHING #
5)Cache-Control Headers
# TN - BEGIN Cache-Control Headers <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" # TN - END Cache-Control Headers
Another way to speed up website is loading your images faster by reducing its size to below 30kb. you can wordpress plugins to do this, there are many plugins available in the wordpress.org for you to add in your wordpress dashboard. i recommend you install smush wordpress plugins which great compression tools and provide premium support.
I recommend you to use a clean wordpress theme with less javascript and user-friendly site for seo. you can checkout mythemeshop site for great themes.
impotant plugin list for your blog
1)WordPress SEO by Yoast(https://wordpress.org/plugins/wordpress-seo/)
2)BackupBuddy(http://www.wpbeginner.com/refer/backupbuddy)
3)W3 Total Cache(https://wordpress.org/plugins/w3-total-cache/)
4)Wpforms/(https://wpforms.com/)
5)OptinMonster(http://www.optinmonster.com/)
6)Edit Flow(https://wordpress.org/plugins/edit-flow/)
7)Soliloquy(http://soliloquywp.com/)
8)Disqus(https://wordpress.org/plugins/disqus-comment-system/)
9)Floating Social Bar( https://wordpress.org/)
10)Envira Gallery(http://enviragallery.com/)
Congratulations @smartivenabin! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the total payout received
Click on any badge to view your own Board of Honor on SteemitBoard.
To support your work, I also upvoted your post!
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You got a 5.93% upvote from @buildawhale courtesy of @smartivenabin!
If you believe this post is spam or abuse, please report it to our Discord #abuse channel.
If you want to support our Curation Digest or our Spam & Abuse prevention efforts, please vote @themarkymark as witness.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @smartivenabin! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit