![]() | Join Date: May 2008 | Location: Sarasota, FL | iTrader: (0) | User-Submitted Tools: MrLogin, OnlineClock |
Help with my robots.txt...
I've never had a problem with my robots.txt file until now.
I recently got an e-mail from AdSense stating that it cannot reach some of my site's pages that are currently serving ads due to robots.txt restrictions.
They request that I give access to their AdSense bot (Mediapartners-Google*) to the pages that are usually blocked.
How, in my robots.txt file, can I grant access only to Mediapartners-Google* but block everything else?
Do I just simply add below my current code, which is: ?
Thanks in advance for any assistance.
.....
...And if anybody is interested, here is a copy of the e-mail that AdSense sent:
I recently got an e-mail from AdSense stating that it cannot reach some of my site's pages that are currently serving ads due to robots.txt restrictions.
They request that I give access to their AdSense bot (Mediapartners-Google*) to the pages that are usually blocked.
How, in my robots.txt file, can I grant access only to Mediapartners-Google* but block everything else?
Do I just simply add
Code:
User-agent: Mediapartners-Google* Disallow:
Code:
User-agent: * Disallow: certain pages
Thanks in advance for any assistance.
.....
...And if anybody is interested, here is a copy of the e-mail that AdSense sent:
Quote:
,While reviewing your ad implementation, we noticed that your robots.txt file is currently preventing our AdSense crawler from reaching a significant number of pages with ads in your account. In order to serve targeted, paid ads to your sites, our crawler needs to visit your sites’ pages to determine their content. Please update your robots.txt file to allow the AdSense crawler to access all pages showing Google ads. You can allow the AdSense crawler access to your sites by adding the following lines to your robots.txt file: User-agent: Mediapartners-Google* Disallow: Thanks for helping enable us to serve the most relevant ads to your sites. Please note that in the future, if we can't crawl some of your pages, we may disable ad serving to those pages. For more information, please visit: https://www.google.com/adsense/suppo...y?answer=37091 We appreciate your understanding. Yours sincerely, The Google AdSense Team Google, Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043, USA |
Last edited by Nick R; 12-03-2008 at 04:08 PM..




,



thanks
Linear Mode

