Forum Moderators: Robert Charlton & goodroi
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!
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.