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

Remove Genrator Tags

WordPress No Comments

As one of the security tips – we should remove the generator information from the header if we are using wordpress for the blog.
It’s simple to do, just remove the following line from the header.php in your theme.

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

If you are seeking tips for wordpress security. Then the following are bonus if your blog is being run under APACHE.
1: Keep your wp-admin folder safely: just create an .htaccess file.

AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName “Access Control”
AuthType Basic
order deny,allow
deny from all
# whitelist home IP address
allow from 66.234.165.99
allow from 67.148.115.25
allow from 191.58.54.6*

2: Don’t expose your plugin:) Just add the blank file into the root of your wordpress plugin file.

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