Forum Moderators: goodroi

Message Too Old, No Replies

If I disallow /filename.php ...

will google still index /filename.php?whatever

         

Trisha

11:03 pm on May 24, 2005 (gmt 0)

10+ Year Member



If I disallow /filename.php will google still index /filename.php?whatever

Sorry if this has been discussed here already. It seems like I remember hearing once that they might. I was thinking that if this is true I should put that file in a separate directory like 'widget' and then just 'disallow /widget' and then that would keep google from indexing any possible '/widget/filename.php?whatever'.

ThomasB

11:21 pm on May 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Trisha, Google won't index the page with the? in the url.

Lord Majestic

11:44 pm on May 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Google won't index the page with the? in the url.

Is that supposed to mean that Google won't index dynamic pages or only those pages that have no proper query parameters?

Trisha

2:47 am on May 25, 2005 (gmt 0)

10+ Year Member



Thanks Thomas! That makes things a lot easier!

ThomasB

7:38 am on May 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



LM, here's what I was referring to:

robots.txt

user-agent: *
Disallow: /filename.php

Google won't index /filename.php?whatever

Trisha

9:25 pm on Jun 6, 2005 (gmt 0)

10+ Year Member



Thomas - when I type in the site: command, pages are listed that are like this:

www.mydomain.com/ifw_nm.php?rurl=578237

even though I disallowed ifw_nm.php in my robots file. Are those pages supposed to show up when doing the site: command?

jdMorgan

7:05 am on Jun 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



robots.txt stops the pages from being fetched. It does not stop the URLs from being listed if they are found elsewhere (e.g. links found on other sites).

If this applies to any one of your pages, you'll find that it is listed without a normal title or description. If there is a title or description, you'll find that the information has been derived from the links to that page, not from the content of that page.

See message #3 (and later) of this old thread [webmasterworld.com] for more details.

Jim