Do you have a robots.txt file in your root folder?
A text document named robots.txt in your document root containing the
following text
should solve your problem. 

# robots.txt for

User-agent: *
Disallow: /subapp_search/search.php

User-Agent: Googlebot
Disallow: /subapp_search/search.php

More info here:


-----Original Message-----
From: Merlin Morgenstern [] 
Sent: Wednesday, August 31, 2011 7:39 AM
Subject: [PHP] Hide php action pages from google

Hi there,

I do have a search form on my site which posts search queries to 
follogin URL:


Depending on the search parameters it will then redirect to the 
appropriate URL. e.g.: /suche/labrador

I now discovered in google webmastertools that this very page 
(search.php)  is listed there as a reference for the speed of the whole 
page with 2.7s.

This page should be irrelevant to google. Does somebody know how to hide 
it from google? All redirects coming from there are 301s and the page 
without parameters redirects to /

Thank you for any help on that,


PHP General Mailing List (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to