Wednesday, October 03, 2007

Technorati Profile

Technorati Profile

Monday, September 17, 2007

Google grants PageRank to alternative URLs in adsense code?

Yeah, sounds weird, unbelievable, but yes that is true. Google grants PR to URLs in adsense code. Yesterday I checked the adsense alternative page of one of my sites and I noticed it had PR1!!!

There are no backlinks to this page! The PageRank of home page is 4.

I will keep an eye on situation and will report how things are going after next TBPR update.

Labels: , , ,

Wednesday, June 27, 2007

Inside AdSense: We go round and round

Google adsense blog announced a new shape of adsense borders beside the square one. There are two options: slightly rounded and very rounded. If you blend adsense ads in your sites this news is not news for you.

Inside AdSense: We go round and round: "colors of your ad units; now, you can also customize the shape by selecting between square, slightly roun"

Tuesday, February 13, 2007

Google sitemap PHP Script

А simple PHP script for creating Google sitemaps


// Connecting, selecting database
$link = mysql_connect('localhost', 'db_username', 'db_pass')
//db_username is the database username; db_pass is the database password
or die('Could not connect: ' . mysql_error());
mysql_select_db('data_base_name') or die('Could not select database');
//data_base_name is the DB you connect to

// Performing SQL query
$query = 'SELECT item_id FROM db_table_name WHERE some_condition=1';
$result = mysql_query($query) or die('Query failed: ' . mysql_error());

// Printing results in HTML
header ("Content-type: application/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<urlset xmlns=\"\">\n";
while ($line = mysql_fetch_array($result, MYSQL_ASSOC))
foreach ($line as $col_value)
echo "<url>\n";
echo "<loc>$col_value</loc>\n";
echo "</url>";
echo "</urlset>\n";

// Free resultset

// Closing connection


That is all. Now you have a perfect Google sitemap.

Labels: , ,

Wednesday, January 31, 2007

ASS Adsense SPAM Sites

ASS (Adsense SPAM Site) is a term that I created not knowing of MFA (Made For Adsense) term. The point is the same. Those type of sites are made only to show adsense ads and have no or almost no content.

I. Why fight them?

1. Because they add no value to your site. When your site's visitors clicks such a site (s)he visits a page full of ads, many of which ASS. And the visitors go into a magic cirlce, wainsting her/his time.

2. These sites give the lowest bids in adwords and your adsense earnings really collapse.

II. How do I know this is an ASS?

1. Those site have no or almost no content, or they use other sites content.
2. 99% of such sites have 3 or more adsense units
3. The ad description is like: "Top 10 bla-bla-bla...", "Explore the top sites on...", "Visit the top ...", "The top recommended sites for..." and so on.
4. "Best", strange, funny domain names like (these may vary on your site's subject):

5.Some have no index page. Isn't that strange?

III. How to block them?

Google adsense team offers a Competitive Ad Filter where you can block up to 200 domain names. Use Google adsense preview tool to visit the sites on your adsense units without violating Google TOS. It works currently only with IE.

Good luck!


Friday, January 05, 2007

Some SEO tips for your site

Some SEO tips for your site

Every sites has to have more backward links to itself in order to have bigger PageRank™ and better place in SERP - Search Engine Results Pages.

Before you start to make your site popular make sure you follow these optimisation rules:

  • First: The site has to be compliant to standarts of W3 consortium. Keeping these standarts will not only let more browsers inteprete your site's pages the "better way", but provide backward links with higher PageRank™. The more pages has your site, the more backward links

  • The more backward link, the higher PageRank™

  • Use descriptive alt attributes of img tags and descriptive title attributes of href tags. Search engines (especially Google) index the content of alt and title attributes. Sometimes alt attributes are the only way to describe a picture/foto.

  • Meta tags are must! If you don't know how to construct them you can use a Metatag generator. Creating meta tags must not to be just to have them. There are some rules which are:

    - relevance between the title tag of the page and its content meta tag;

    - relevance between the description meta tag and the content of the page;

    - relevance between the keywords meta tag and the content of the page;

    In other words the title tag, keywords and description meta tags has to be relevant to page content. Do not use descriptions or titles like: "We are number one" or "The best of the best". Avoid keywords that do not present in page content. You can keep these rules by creating dynamic meta tags. You can use Metatag analyzer to check if everithing with your pages is OK.

  • Sometimes webmaters face the problem how to remove session ids like PHPSESSID= from their sites' URLs. Beside the security risk, session ids in URLs can lead to indexing the same page as many pages and search engines could treat this like duplicate content and punish your site. There are some methods to fix this:

    1.If you have access to settings in php.ini set session.use_trans_sid = 0;

    2.In php files like this: <? ini_set('session.use_trans_sid','0'); ?>, but that is not always possible and depends on the PHP version you use;

    3.By using apache directives: php_value session.use_trans_sid 0;

    If there are already indexed URLs containing PHPSESSID and your web server is Apache you can get rid of those URL's this way:

    Options +FollowSymlinks

    RewriteEngine On

    RewriteCond %{QUERY_STRING} ^PHPSESSID=.*$

    RewriteRule .* %{REQUEST_URI}? [R=301,L]

  • Include in your robots.txt the following line:
    Disallow: /*PHPSESSID

Copyright © 2007 Plamen Tomov. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".