How to boost blog posts and increase web traffic

How to boost blog posts, tricky question for each blogger who wants to drive huge traffic to website.

Most of bloggers have a dream to get huge traffic to site, more clicks and likes to website, readers spend more time on your website, more comments and shares, better Google index. Whereas few of them want big traffic and big money from blog site.

Either you are beginner or expert, is it not that you want ? Don’t you think that how to can engage more people to your blog ? Is it content quality is good or readers are showing interest to read them ? How much time they spend to read your post and If yes, do they share ?

It is truth that every one likes to get traffic to site and spend more time; unlike they are doing for social media like facebook and whatsapp.

So let me tell you about How to boost blog posts with ease of pressure which can pull your audience to page or site, get more clicks and comments.

# Social Media

As I told you before in earlier post that social media is the best and smart way to engage traffic, messages and clicks. Social media has more than 2 million active users daily.

Select your niche, target your audience and write rich contents, follow such 2 minutes process to share your post on social media.

If you consider than Facebook, twitter are big platforms where as Pinterest is fast growing platform to share your blog which can direct to your website.

Social media will not a way to share your posts and create some traffic to your website but it also build new relationship for you where you can share thoughts and experience.

# Polls, Survey and Questions

Creating polls and survey is not a bad choice or low type of work for your website. Infect it is good way to get attention. Indirectly you can pull 1 to 5K audiences to your site by doing such steps.

Asking question is a good habit, because it is only the thing we are doing from crazy school life and college life. Simply you can create question on facebook page or on your site, because experts and people love to answer and comment.

Most of experts spend their time to read blogs and news feed, then always writes opinion there and share useful contents.

# Post real and useful contents

You should post only the contents what the readers of your target area want to read. Readers love the realistic, rich contents something that will motivate them, teach them and provide positive energy to set up goals and to achieve them.

People show their interest to read your article only if they found any statistics in heading. If you don’t know about it, try to fetch others contents or gather information from another resources.

# Visually rich contents

This is the most important and initial step while you start a blog or you have spent some time on writing. If you put a nice image with contents, than it helps to get attention of readers.

When you have prepared rich contents and ready to post them, select a nice featured image or video relevant to your topic. Most of people hit on your website or page if they found some eye-catching contents there.

Images can be a toy shop with candy store for children, they will surely go to shop while don’t want to look here and there. It is because children have a tight bond with toys and candies. Like this images are first arrow of your bow, which can target to audience.

I use my website to share helpful contents and share them to all social profiles which makes me to close to people and other bloggers. I started to write a few months ago but yes now I’m part of blogging network while it is small or not.

If you have something to add to this blog? Kindly share it in the comments. Thank you for reading this.


Gzip Compression to increase website landing speed

I don’t know, If you all developers are aware to Gzip compression or not. I’m sure most of people don’t know about it that how to enable Gzip compression for sites.

May you have read about Leverage Browser caching in earlier post through .htaccess file. Now We will steps to compression through .htaccess file, which is used to optimize website landing speed.

What is Gzip Compression

It is a software application, which contains a piece of code to reduce file size upto 70% of actual size. Basically it is used to compress bigger files (xml, css, js etc) to small files and compress images as well.

It is about to compress webpage, scripts and style sheets upto 60%, which enables fast landing speed. It reduces webpage loading time by smart compression technique.

I know, you got the point but is it possible to increase speed by using such piece of code ? Let’s move on.

How it works and deliver fast landing

Normally If we hit to an URL, it follows http cycle with request and response objects. After this cycle user sees the webpage on browser. Sometime users get bored if webpage takes more time to render on browser or doesn’t get proper output.

If you enable compression, than a request is also made to this tool and response back to browser. All files are compressed without loosing quality and come back to browser with normal behaviour.

Page loads slowly if we don’t enable to compression and it affects to website ranking. Because Search Engines have some minimum time 200ms to load a webpage and response to browser.

Now you must want to know how to enable compression to your website. So, let know about this.

Enable compression through .htaccess file

.htaccess file has own importance on webserver so you must have a backup of file before you are going to edit. If there is no such file in site directory, you can create it manually.

Here is lines of code to paste there and enable compression to load pages faster than normally.

<IfModule mod_deflate.c>

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/rss+xml

AddOutputFilterByType DEFLATE application/

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


Before couple of years I was not aware of such code, while spent more than 8 months in development field. Once I was checking website speed through Google and found this. After that I found this code on Stackoverlow and results was good.

My site was loading in 27s before using it, and than just 4.58s. It was faster than previous result and glad to get this code.

Enable on Apache Server

You can also use such piece of code, while apache server is there. Please have a look an code.

AddOutputFilterByType DEFLATE text/plain

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/xml

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE application/xml

AddOutputFilterByType DEFLATE application/xhtml+xml

AddOutputFilterByType DEFLATE application/rss+xml

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/x-javascript

You can do this manually by hosting server, while some of them provide in-built tool to compress files. I’m using 2gbhosting solutions and there is an option in cPanal to compress files and images before it sent to browser.

Conclusion: I will suggest to use this, while If you are thinking about fast landing speed. I’m using this code since two years and got good results each time. I hope it would be helpful for you in website ranking too.

If you have something to add to this blog? Kindly share it in the comments. Thank you for reading this.

Codeigniter 3 released by BCIT

I have started to development with Codeigniter 2.x version and no doubt it is good PHP framework to build web applications. Codeigniter is my first choice to build websites and applications, because it is fast, secured, easy to learn and more friendly than others. Now it is most used PHP framework around the world and users are more than 32%.

Earlier BCIT [ British Columbia Institute of Technology ] announced Codeigniter 3.0, which would be better than last version in security, coding structure manner. Let’s check now, what are new updates ? how they are useful for developers ? If they are stable like previous version or developers will need to learn something new ?

 Security is big concern for websites and applications either they are being used for desktop, mobile or online. We all know who are hackers ? they don’t accept challenge only to access the websites, but they also harms to users and steal their data and information. So, framework has released some new security patches to ensure this like XSS filtering.

Version 2 had an issue with this, but now un-authenticated users can’t by-pass this function. You can use this function as:-


Base_url() will fallback to $_SERVER[‘SERVER_ADDR’], when $config[‘base_url’] is empty in order to avoid Host header injections.

  • Updated PHP: Increases security and performance
    CodeIgniter requires PHP 5.2.4 and recommends 5.4+.. PHP 5.1.6 is not supported anymore.
  • File Naming Conventions: Improves standard coding practices
    Class file names now must be uppercase first and everything else lowercase
  • Database Performance: Makes queries faster
    The default database driver is changed to ‘mysqli’. The old ‘mysql’ driver has depreciated.
  • It will use new introduced Native Driver PHP session with Cookie Driver class, which will allows custom sessions.
  • To minify the output of your page request (primarily by removing spaces) you simply set theminify_output config setting in the config.php file to TRUE.

$ config[‘minify_output’] = TRUE;

  • You can use standard or custom HTTP verbs (GET, PUT, POST, etc), by adding the verb as an array key to your route

$ route[‘products’][‘put’] = ‘product/insert’;

  • Moved error templates to application/views/errors/and made the path configurable via $config[‘error_views_path’].
  • PHP 5.1.6 is no longer supported. CodeIgniter now requires PHP 5.2.4 and recommends PHP 5.4+ or newer to be used.
  • Active Record is renamed to Query Builder. C hanged the default database driver to ‘mysqli’ (the old ‘mysql’ driver is DEPRECATED).
  • Composer auto-loader
  • Updated ip_address database field lengths from 16 to 45 for supporting IPv6 address on Trackback Library and Captcha Helper.

If you have something to add to this blog? Kindly share it in the comments. Thank you for reading this.