Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Can Google tell if it's a file or directory?

         

irock

9:24 am on Mar 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi, I just used mod_rewrite to adjust some of my new files.

I was wondering. Can Google tell if this URL is a file or directory? After the mod_rewrite, I managed to rewrite my dynamic pages from (1) to (2).

www.domain.com/dir/index.php?page=badger (1)
[mydomain.com...] (2)

So, my question is whether or not Google will treat (2) as a directory or a file?

Thanks!

pete_m

2:19 pm on Mar 3, 2005 (gmt 0)

10+ Year Member



Google will treat that URL as a webpage like any other.

There's no real concept of "file" or "directory" on the web - just webpages and URLs. Even "directory listings" (e.g. pages produced by Apache that begin "Index of /mydir/") that you occasionally find are just webpages. They just happen to list the contents of a filesystem directory in HTML format.