Forum Moderators: goodroi
Google says to use this:
User-agent: Googlebot
Disallow: /*?
It's my understanding that not all Search Engines use the wildcard. How can I keep my .php files out of the search engines?
To insure none of your PHP pages are spidered, you will need to do two things:
1. Move all of them into a unique folder/directory and include the following in robots.txt:
User-agent: *
Disallow: /PHP Folder Name
2. Add <meta name="robots" content="noindex"> in the head section of each page to insure they aren't indexed as a result of spiders following external links to them.