do you want to add adsense advertising to your forum.
i could add adsense to the top of my forum by adding the code in the overall_header.htm file, i added it at the end of the file.
the important thing is that when i added it to the file manulay and then uploaded the file it didn't work, i succeded only when i changed the file through the admin system.
same i did with the google analytics code, i added it to the same file, but after the header tag.
if someone could do that after the first post only please write it here.
Thursday, June 28, 2007
adding adsense to phpbb 3 forum
Monday, June 25, 2007
Beta Version for arabic language Google Adsense
Lately the google adsense for content started to support arabic language websites, the www.arabsites.co.il website administrator said that his site is utf-8 incoded and two weeks ago he started to show ads in his site, more he said, the pay per click still low, it's about 1-2 centes per click, but i guess when the time pass, more advertisers will know about the service and they will pay beter for a click.
the first report was on the arabic seo forum www.seoarabia.com
Posted by
RamiX
at
8:58 AM
1 comments
Labels: adsense, google, Search engine, seo, website
Tuesday, January 16, 2007
How to recognize google visit
do you want to know if this visit is a google visit??
here is a simple asp code to do that:
< % robot=request.ServerVariables("HTTP_USER_AGENT") if (Instr(robot,"Googlebot")<>0) then
...
end if
% >
and this is how to do it with php script
< ? define("SYSTEM_FROM_NAME","Your name"); define("SYSTEM_FROM_EMAIL","Your email"); //---this script will send email to webmaster when google visit your pages. if(isset($_SERVER['HTTP_USER_AGENT']) && eregi("googlebot",$_SERVER['HTTP_USER_AGENT'])) { if ($QUERY_STRING != "") { $url = "http://".$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF'].'?'.$QUERY_STRING; } else { $url = "http://".$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; } $today = date("F j, Y, g:i a"); $headers = "From: ".SYSTEM_FROM_NAME." <".SYSTEM_FROM_EMAIL.">";
$message="";
$message.="Googlebot is crawling your site:\n";
$message.="Page: $url\n";
$message.="Date: $today \n";
$message.="IP: ".$_SERVER['REMOTE_ADDR']." \n";
mail(SYSTEM_FROM_EMAIL, "googlebot crawle - $url", "$message",$headers);}
? >
Posted by
RamiX
at
10:02 AM
0
comments
Labels: asp, google, php, scripts, Search engine, searchengines, seo, source codes
