I have a php page that creates PDFs for products. The Co-op ads will not work on this because it handles jpeg images and not gif images. What can I do to solve this?
Why would I want to block the googlebot from the php file? The issue is this site wont validate for co-op because the ads are not included on this page that creates PDF format product brochures.
I see what your saying now. I obviously don't want to block googlebot from the whole site but I could block it from that page. Googlebot does seem to like PDFs for some reason.
You can use robots.txt to block just a single page. For example, this is the robots.txt that www.digitalpoint.com uses: User-agent: * Disallow: /tools/suggestion/? Disallow: /search.php Code (markup):
I am going to disallow googlebot from that page. Thanks for your help and I will let you know if it still fails to validate for some reason.
It should be right when the page is dropped from the Google index. You can speed that process up if you want here: http://services.google.com/urlconsole/controller
Forever at the longest. Peole have seen years old cached files in Google. Best to use that removal request tool.