Royalserviceteam
Power Member
- Apr 2, 2011
- 716
- 236
Do you have robots.txt on your site? Maybe you blocked googlebot from indexing your pages?
Yes i have allowed googlebot in this way:
useragent:googlebot
Allow:/
Is that a correct way?
Do you have robots.txt on your site? Maybe you blocked googlebot from indexing your pages?
Yes i have allowed googlebot in this way:
useragent:googlebot
Allow:/
Is that a correct way?
I think the indexing rate is also tied in to how competetive the niche is. If there are a million people trying to rank for those keywords they are going to be a bit slower about crawling every site. I actually just made a thread about abou the subject. You can find it here:
http://www.blackhatworld.com/blackh...rs-one-hundred-uniques-day-within-1-week.html
I think the indexing rate is also tied in to how competetive the niche is.
If you're not indexed after 2 weeks the domain may have been black listed because of a previous owner.
You should also check your domain in the waybackmachine to see if it's had a previous owner.
I just let G find my new stuff on its own.
Anyway, here's some code that you can use to know when the Gbot visits your site:
The 1st set of quotes is the 'from' address I think, the 2nd is the address to send to I think, the 3rd is the subject line of the email, the 4th is the body of the email.PHP:<!-- Googlebot alert --> <? function simpleMailSend($from, $to, $subj, $text) { $un = strtoupper(uniqid(time())); $head = "From: $from\n"; $head .= "Subject: $subj\n"; $head .= "Reply-To: $from\n"; $head .= "Mime-Version: 1.0\n"; $head .= "Content-Type:multipart/mixed;"; $head .= "boundary=\"----------".$un."\"\n\n"; $zag = "------------".$un."\nContent-Type:text/html;\n"; $zag .= "Content-Transfer-Encoding: 8bit\n\n$text\n\n"; if (!@mail("$to", "$subj", $zag, $head)) return false; else return true; } if(eregi("googlebot",$_SERVER['HTTP_USER_AGENT'])) { $s = ""; foreach($_SERVER as $item => $value) { $s .= "\n$item : $value"; } $sdate = date("Y-m-d h:i:s"); $message = <<<MESSAGE Visit date:$sdate Information: ================================= $s ================================= MESSAGE; simpleMailSend("[email protected]", "[email protected]", "googlebot alert", "your site has just been visited"); }?> <!-- End of Googlebot alert -->
Just type this: User-agent: *
in your robots.txt. The reason is you blocked google from indexing your site.
And check your privacy settings in your wordpress backend. Enable that searchengins can crawl your blog.
www.mysite.com/wp-content/plugins/sexybookmarks/js/