Enable Gzip on Share Hosting in Right Way – Unix Like

WordPress No Comments

The tips for Gzip enabling on sharing hosts installed Unix like OS. I know many resources on Google.com can help you already. So this is not an full guide for enable Gzip. Although I have listed a dozen of tips at the end of this post. Read my story to understand what I wanna share with you. That’s an specific medicine for the guys who is dropping in the same situation I met.

Today, I did the optimization for the blog as usual after the blog(buy STO credit) has been set up. The blog is hosted by Godaddy Sharing Host(Specially, Linux economy plan. Why? As it’s cheap prices and decent CS. If you have any suggestion to me, I appreciate!). After the bog got a nice score with YSlow, I noticed that the title rewrite has been all death. I have used the famous WordPress plugin titled All in One SEO by Michael Torbert. Sincerely, I am so lazy so that I didn’t read the sources code ever. I have to read the code to understand how it works. aha..It uses the function ob_start() to get call callback function in the class to rewrite the original title. That’s where the collision comes from. I have used the ob_start(“gz_handler”) to enable Gzip for buystocredit.com. Read the PHP manual for function ob_end_flush() to know the collision well if you want to know more.
So, the issue I met when I enabled Gzip was clear.

What is the tip to fix?

  • Web Server: Apache 1.3.* with PHP5 on Linux Share Hosting
  • Blog Software: WordPress
  • Plugin Enabled: All in one SEO pack
  • Gzip Enabled Method: call ob_start(“gz_handler”) at the beginning of each page
  • Result: All in one SEO pack title rewrite disables
  • Solution: Use zlib.output_compression to instead of ob_gzhandler()
    1. Remove the ob_start(“ob_gzhandler”) from everywhere in your codes
    2. Modify the php5.ini/php.ini at the web root as following:zlib.output_buffering = On
      ;zlib.output_handler = ob_gzhandler //comment it out, as it cannot be used with the zlib.ouput_compression is on
      zlib.output_compression = On

There are many way to enabled Gzip as following.

Apache 2.0.x – if the mod_felate enabled by your host provider.
Enable Gzip via Mod_deflate
Apache 1.3.x – if the mod_gzip installed and enabled by your host provider
Official Mod_Gzip Manual or Fast Usage Tips
PHP 4.0.4 or higher Ob_start(“ob_gzhandler”)
Fast Effective PHP Gzip Compression
PHP zlib.output_compression
The method in my post!
Other resouces:
Gzip with .htaccess and PHP
Better Explained? Interesting domain

9 Digital Domains Pending Deletion

Domains No Comments

I have just noticed that there are nine domains that compose with 4 numbers are pending for deletion.

Digital Domains Estimated Final Winning Pricesupdate later
0012.com $2,999
0016.com $2,499
0017.com $2,299
0023.com $3,049
0138.com $1,999
0165.com $1,099
0198.com $1,099
0257.com $999
0368.com $999

Ignore the estimated pricing above, that’s only my evaluations based upon my experiences. Just for funny!
The all 9 domains were registered via Direct Nic ago. So I suppose they are belongs to one guy who finally decided to out of the domain business or became insolvent. Those Digital domains are all registered since 1999 without any dropping.

Chinese Blackhat SEO

Spam No Comments

Matt Cutts is calling for linkspam report. As he motioned in his post:

Google has been working on some new algorithms and tools to tackle linkspam….

In order to respond, I decided to write some about Chinese Black SEO. They are active at Google.com, not at Google.cn.

Why is Matt calling the linkspam report?

As he used the “words has been working”, I assume that Google has employed the new algorithms for their search results already. Currently, they wanna the feedback of the modification to see if the new algorithms is positive. So that they can confirm that the new algorithms make their users happily. That’s great! I appreciate Google’s spirits. As one of the Google Search users, I can feel their sincerity. As one of guys who is learning SEO(Search Engine Optimization: the techniques that help the search engines to get the webpage/website with higher relevance ), I saw the results wheel in last two weeks(It seems Google has modified the new algorithms more than one time, although I just monitor few results in the given topic). And now, seems everything goes steadily. I suppose that the new algorithms has been implemented already don’t take fatal filters to combat with linkspam. So is Matt asking the reports for further modification of the algorithms.

Where my supposition comes from?

A dozen of sites, owned by Black SEOer who comes from Fuzhou, China, still get the decent rankings at Google. Even one of their site get the #3 ranking in Google SERP after this shakes. As I known, the site has been dropped ago. I have no idea why its ranking was raised again. Few sites belongs to them got the increase of Google ranking after the new algorithms was applied as well as.
I really hate those guy, as they are really spammers. They use XSS/SQL inject/FTP Crack to get the control of lots of sites. And then add the hide links to the sites/web pages. Their most favorite are China government(gov.cn) and education(edu.cn) sites(Why? Read the TrustRank Algorithm). The most webmasters of those sites even don’t heard of SEO. On the other hands, those sites are vulnerable. The hidden code for links they would like to use are the following:<marquee width="1" height="5" scrollamount=9721>some related words+link+some related words</marquee>. No any words such as display:none or visibility:false requires via the tag marquee. And it has a good opportunity to escape from the cloaking detections. Another type of favorite of them are related sites. However, they got those sites via generating new sites by themselves. IMO, it can be accepted as no doorway pages are there at least.

Although, I have no mentions about the special sites or phrases here. I have reported them via authoritative Google spam report form. Where is you?

How to add nofollow – Simplest Way

WordPress No Comments

In order to add the nofollow into the result of wp_get_archives(), you may need a few PHP skills. But it’s simple, means can be understand easily.
The main elements are:

  1. Use the echo feature of the built-in function wp_get_archives
  2. use the PHP function str_replace to add the nofollow tag into the return built-in function.


<?php
//step1, built-in function usage; pay attention to the echo=0
$month_archives=wp_get_archives('type=monthly&echo=0');
//step2 replace the <a with <a rel="nofollow"
$month_archives=str_replace('>a','>a rel="nofollow"',$month_archives);
echo $month_archives;
?>

3 letters domain CIF.COM pending deleted

Domains No Comments

Three letters domains cif.com is being hold on for pending detelted. It has been dropped twice in the last five years.
I have checked both whoise information and archive bookmarks. The following are the results.

ICANN Registrar:ANSWERABLE.COM (I) PVT. LTD.
Created:1997-12-12
Expires:2009-12-11
Updated:2010-02-20
Registrar Status:pending
Delete Name Server:DNS.PARKPAGE.FOUNDATIONAPI.COM (has 119,719 domains) DNS2.PARKPAGE.FOUNDATIONAPI.COM (has 119,719 domains)
Whois Server:whois.answerable.com
General TLDs:
cIf.com (on-hold (pending delete))
cIf.net (registered and active website)
cIf.org (registered and active website)
cIf.biz (registered and active website)
cIf.info (registered and no website)
cIf.us (registered and active website)

Of course, cif is a hot words as it’s short enough. And the most popular TLDs are registered and have active website already.
And cif.com has website since 1998 based upon the archive.com:) Then, let’s see what the word CIF short for at wikipedia.org.
BTW, there was an typo domain noika.com is being hold as well as.
I will updated the post once I got the acquisition prices for both domains.
[updated - 03/05/2009] CIF.COM – $17,001 and noika.com – $2,989

@ 2009-2014 - GGIN.Com
Entries RSS Comments RSS Log in