How to enable HTTP persistent connection or HTTP keep-alive for your website for faster page speed using .htaccess file

As Wikipedia explains:

 

HTTP persistent connection, also called HTTP keep-alive, or HTTP connection reuse, is the idea of using a single TCP connection to send and receive multiple HTTP requests/responses, as opposed to opening a new connection for every single request/response pair. The newer SPDY protocol uses the same idea and takes it further to allow multiple concurrent requests/responses to be multiplexed over a single connection.

 

Note: I assume you have adequate knowledge of handling your server & server settings & you are well versed in your field

 
You can put following code in your .htaceess file which is available in your root of your server’s html folder

Continue reading “How to enable HTTP persistent connection or HTTP keep-alive for your website for faster page speed using .htaccess file” »

Continue Reading Post

How to enable Gzip Output Compression using Mod Deflate in WordPress for minimising website load time, increase speed & performance, WordPress Performance Tip

If you want to increase your website’s performance & speed by reducing website’s load time on client’s i.e. visitor’s machine then this tutorial will help you.

 

Something About WordPress: WordPress on its own does not offer a mechanism to compress the blog’s HTML output. This normally is a feature provided by the Apache enabled web server.

 

As Apache Website Defines: The mod_deflate module provides the DEFLATE output filter that allows output from your server to be compressed before being sent to the client over the network.

 
Here is how to enable gzip compression via .htaccess

 
If you prefer to enable or fine tune output compression with the apache server, then copy paste below code in your .htaccess file:

Continue reading “How to enable Gzip Output Compression using Mod Deflate in WordPress for minimising website load time, increase speed & performance, WordPress Performance Tip” »

Continue Reading Post

How to disable WordPress Pingbacks & Trackbacks, One of the old Feature & Core Functionality of WordPress, Optimum Performance Tip

Let’s Know, What is really Pingback is?

 
A pingback is a type of comment that’s created when you link to another blog post where pingbacks are enabled. The best way to think about pingbacks is as remote comments:

 

  1. Person A posts something on his blog.
  2. Person B posts on her own blog, linking to Person A’s post. This automatically sends a pingback to Person A when both have pingback enabled blogs.
  3. Person A’s blog receives the pingback, then automatically goes to Person B’s post to confirm that the pingback did, in fact, originate there.

 
Let’s Know, What is really Trackback is?

 
Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress blogs they’ll be notified automatically using pingbacks, no other action necessary.

 
Think of trackbacks as the equivalent of acknowledgements and references at the end of an academic paper or chapter in a text book.

 
To send a trackback, add the trackback URI from the other blog post to the Send Trackbacks module in your blog post before you publish it. A trackback URI from a WordPress blog will end with /trackback/.

Continue reading “How to disable WordPress Pingbacks & Trackbacks, One of the old Feature & Core Functionality of WordPress, Optimum Performance Tip” »

Continue Reading Post

Display Advertiser Features i.e. Demographics and Interest Reports & Use enhanced link attribution not working Google’s new Universal Analytics, Here is how to fix it & make it work & show relevant data by tweaking tracking code

Hope you have enabled & upgraded to Google’s new Universal Analytics under your preferred domain’s admin tab.

 
After a while you may realise under Home > Your Domain > Audience > Demographics / Interest Google Analytics is showing no data feed is empty.

 
But there is way how to fix this fault by following below steps,

 

Step 01:

 
Go to Admin tab > Property > Select your preferred domain > Property Settings > Enable ‘Demographics and Interest Reports’ & ‘Use enhanced link attribution’ > Now save the settings

 

Step 02:

 
Now go to Admin > Property > Your preferred domain > Tracking Info > Tracking Code

 
Now implement given code to reletive website’s header or footer

Continue reading “Display Advertiser Features i.e. Demographics and Interest Reports & Use enhanced link attribution not working Google’s new Universal Analytics, Here is how to fix it & make it work & show relevant data by tweaking tracking code” »

Continue Reading Post

Jetpack Related Posts not working or displaying – appearing on WordPress Self Hosted Website Domain or Subdomain, Here is why it is happening & how you can fix it.

With JetPack for WordPress, Automattic is releasing wordpress.com features for WordPress Self Hosted websites.

 
One of that release is one feature called ‘Related Posts’ where by you can activate this inbuilt plugin like functionality to scan your self hosted website & display desired number of related posts under each blog post.

 
This feature helps user to discover & read related post category content more easily & it also increases website’s click through rate i.e. Average pages visited by each website visitor.

 
But it sometimes doesn’t show any related posts under any blog post, but there is reason why it acts up that way.

Continue reading “Jetpack Related Posts not working or displaying – appearing on WordPress Self Hosted Website Domain or Subdomain, Here is why it is happening & how you can fix it.” »

Continue Reading Post

Error while updating your WordPress Installations Automatically or Getting error while uploading file to WordPress blog “Failed to write file to disk.”, Here is a solution for this errors.

If you are getting error while uploading file or image to WordPress blog or You are getting erro while automatically updating your WordPress installation then here is the solution fo the same.

 
All errors are related to something like this:

 
Error 01:

 

Error while uploading file, image to WordPress blog “Failed to write file to disk.”

 
Error 02:

 

Automatic update Failed for WordPress 3.8.2

OR

Warning: touch() [function.touch]: Unable to create file ~/root-directory/tmp/wordpress-3.tmp because No such file or directory in /nfs/ccc/hhh/ttt/12345/domains/your-domain-name.com/html/wp-admin/includes/file.php on line 155

Warning: unlink(~/root-directory/tmp/wordpress-3.tmp) [function.unlink]: No such file or directory in /nfs/ccc/hhh/ttt/12345/domains/your-domain-name.com/html/wp-admin/includes/file.php on line 479
Download failed.: Destination directory for file streaming does not exist or is not writable.

 
Here is the Reason & Solution to the problem:

Continue reading “Error while updating your WordPress Installations Automatically or Getting error while uploading file to WordPress blog “Failed to write file to disk.”, Here is a solution for this errors.” »

Continue Reading Post

How to Fix ‘Warning: require_once() [function.require-once]: Unable to allocate memory for pool.’ Warning thrown at you while you were trying to login in your WordPress admin page.

Today I was trying to login to my website’s Admin page but I was stopped by following warning by WordPress’s

 

Unable to allocate memory for pool

 
Full warning summery was something like this:

 

Warning: require_once() [function.require-once]: Unable to allocate memory for pool. in /nnn/000/000/mnt/111111/domains/domainname.com/html/wp-includes/pluggable.php on line 1547

Warning: Cannot modify header information - headers already sent by (output started at /nnn/000/000/mnt/111111/domains/domainname.com/html/wp-includes/pluggable.php:1547) in /nnn/000/000/mnt/111111/domains/domainname.com/html/wp-includes/pluggable.php on line 678

Warning: Cannot modify header information - headers already sent by (output started at /nnn/000/000/mnt/111111/domains/domainname.com/html/wp-includes/pluggable.php:1547) in /nnn/000/000/mnt/111111/domains/domainname.com/html/wp-includes/pluggable.php on line 679

Warning: Cannot modify header information - headers already sent by (output started at /nnn/000/000/mnt/111111/domains/domainname.com/html/wp-includes/pluggable.php:1547) in /nnn/000/000/mnt/111111/domains/domainname.com/html/wp-includes/pluggable.php on line 680

Warning: Cannot modify header information - headers already sent by (output started at /nnn/000/000/mnt/111111/domains/domainname.com/html/wp-includes/pluggable.php:1547) in /nnn/000/000/mnt/111111/domains/domainname.com/html/wp-includes/pluggable.php on line 896

Continue reading “How to Fix ‘Warning: require_once() [function.require-once]: Unable to allocate memory for pool.’ Warning thrown at you while you were trying to login in your WordPress admin page.” »

Continue Reading Post

WordPress (WP) Custom Designed Login Logo gets truncated or cropped after WordPress is updated to 3.8+

It seems custom designed logo of login form gets cropped or truncated if you updated your WordPress installation to 3.8 or later.

 
Just for background & history of WordPress login form Logo was something like rectangular in shape as shown below:

 
Orginal WordPress Login Logo

 
My custom design of my Studio’s logo was right fit & was working fine as shown below:

 
WordPress Custom Login Logo Fix - Correct Custom Logo after code update

Continue reading “WordPress (WP) Custom Designed Login Logo gets truncated or cropped after WordPress is updated to 3.8+” »

Continue Reading Post

Creating ‘Datafeedr Ads’ WordPress Plugin Multi Columns Ads Layout through CSS, Here is How?

Few days back I started using ‘Datafeedr Ads’ WordPress Plugin for randomly producing Affiliates Ads layout in my websites’ sidebar

 
I searched & found that plugin itself doesn’t have inbuilt functionality to layout ads in two columns or three columns

 
Main Problem: Problem was something like this,

 
Plugin was lay outing or distributing ads randomly as

 
Ad 1
Ad 2
Ad 3
Ad 4
Ad 5
Ad 6

Continue reading “Creating ‘Datafeedr Ads’ WordPress Plugin Multi Columns Ads Layout through CSS, Here is How?” »

Continue Reading Post

A right way to Automated WordPress Website Maintenance, Here is how I automated my process of WordPress Website maintenance which will require my attention only when I want to write blog post but no extra time & effort to push more buttons elsewhere.

Assumptions, Prerequisites & Basic Knowledge

I assume that you have decent knowledge of web design & development including HTML, CSS for ice on cake working knowledge of PHP. I also assume that you have deployed your WordPress website on online live server.

 
Introduction to Automated WordPress Maintenance

This tutorial & my blog post will help you to automate your workflow of updating 100s of WordPress websites without any extra effort even when you are sleeping or working on your next big project your website will do all work for without any from your side. All scripts listed below will help you to automate updating of WordPress Major & Minor Core Source Code, Themes, Plugins, Database, WordPress site wide trash cleanup & SPAM Comments removal.

 
First Step: Towards Automated WordPress Source Code / Core update inclusion of official major & minor releases

WordPress.org introduced Automatic Minor Core updates in 3.7. This features remove hassle & extra step from updating website to next dot release of WordPress Website Installation.

Continue reading “A right way to Automated WordPress Website Maintenance, Here is how I automated my process of WordPress Website maintenance which will require my attention only when I want to write blog post but no extra time & effort to push more buttons elsewhere.” »

Continue Reading Post