Pages

Sunday, August 12, 2012

Make Your Blog Load Faster than ProBlogger: Part 2

This guest post is by Devesh of WP Kube.


A few months ago, I wrote a guest post here called How to Make Your Blog Load Faster than ProBlogger. Today, I’ll go into some more detailed advice to help you speed up your site even more.


If you’re a blogger, you already know about the importance of blog loading speed, and the role it plays in search engine rank and marketing your blog. But if this is new territory for you, here are three quick reasons why you need to speed up your blog:



  1. Google includes website loading speed as an important metric in their ranking algorithm. If you want your blog to rank high in the search results, you need to make sure your blog loads faster than others.

  2. It can increase the quality of your blog’s user experience and engagement. Having a good-looking blog won’t make your readers’ experience better if it takes ages to load. You need a theme that loads fast and is well coded.

  3. It can help you decrease your bounce rate, and we all know that the lower your bounce rate, the better your chance of driving engagement and generating leads.


Before we get started, check out these five tools you can use to measure your WordPress blog’s loading speed.


1. Optimize your database


One of the very first things that a blogger needs to do is optimize your blog database and delete the post revisions. You can use phpmyadmin to clean up the database, but if you don’t want to play with phpmyadmin, you can set up WP-Optimize instead.


Make sure to remove all the unnecessary tables, old post revisions, and spam comments from your blog’s database. You can use the Better Delete Revision plugin to remove those post revisions, too.


2. Use CloudFare


CloudFlare is a (free) service that makes your blog faster, safer, and smarter. In other words, CloudFlare supercharges websites. It is a CDN service that will protect and accelerate your website, and doesn’t interfere with the WordPress Caching system (W3 Total Cache).


This plugin keeps your blog safe from the Hacking attacks, spammers, and bots by challenging them with a CAPTCHA system whenever it doubts a user’s authenticity. With this tool, you’re easily able to block the spammers’ IPs and websites with just few clicks.


3. Use the P3 plugin


P3 (Plugin Performance Profiler) is one of the best plugins for those wanting to see a performance report of their blog. It comes with a lot of great features, but primarily, it can show you what plugins are slowing down your blog.


It creates a profile of your WordPress site’s plugins’ performance by measuring their impact on your site’s load time. Often, WordPress sites load slowly because your plugins are pooly configured, or because you’re using so many of them. By using the P3 plugin, you can home in on anything that’s causing your site’s load time to slow.


Note that this plugin uses the canvas element for drawing charts and requires Firefox, Chrome, Opera, Safari, or IE9 or later. This plugin will not work in IE8 or lower.


4. Disable hotlinking


Hotlinking is when other sites link directly to the images hosted on your blog from their blog posts or pages. This makes your server load high and decreases the loading speed of your blog.


It is very important to disable hotlinking. To do so, add the following code to your blog’s .htaccess file. Make sure to back up your .htaccess file before you begin to make any changes.



#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?feeds2.feedburner.com/yourdomain [NC]
#RewriteRule \.(gif|jpg)$ ñ [F]
#RewriteRule \.(gif|jpg)$ http://www.yourdomain.com/stealing.gif [R,L]

Make sure to allow your feeds to display the images, however.


5. Limit front page posts


Limit the posts that are shown on your home page. Never show the full posts on the home page, because this will make your site very slow to load. Imagine you have more than eight posts on your home page, and all of them are of 600 words or more—it will likely take a significant amount of time to load the home page.


You should use the excerpts on the homepage and most other pages, instead of showing full posts. To use the excerpts, find the below code in your index.php and other pages that list posts, like archives.php, category.php, and so on.


Replace that code with this:


More resources


For more ideas on speeding up your blog, see:



These are simple tips that can help you to make your blog load faster than ProBlogger. What others can you share to increase blog speed?


Dev is a part time blogger and blogs about WordPress Marketing at WPKube. Hit him up on Twitter if you need anything, Dev will be quick in responding and helping you out.


Originally at: Blog Tips at ProBlogger

DMS_468x60_LS_banner4.gif


Make Your Blog Load Faster than ProBlogger: Part 2







via @ProBlogger http://www.problogger.net/archives/2012/02/08/make-your-blog-load-faster-than-problogger-part-2/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+ProbloggerHelpingBloggersEarnMoney+%28ProBlogger%3A+Helping+Bloggers+Earn+Money%29

No comments:

Post a Comment

Go ahead and leave a Comment. Spammy or useless comments will be promptly deleted. Your email and IP will be reported to Google