Forum Moderators: open

Message Too Old, No Replies

search engines and non html files

does google read .php files?

         

mylungsarempty

6:38 pm on Dec 22, 2003 (gmt 0)

10+ Year Member



I'm building a website comprised of PHP files, and i'm just curious... Google looks at these just like it does .htm files, doesn't it?

Longhaired Genius

6:47 pm on Dec 22, 2003 (gmt 0)

10+ Year Member



Google with crawl file.php as readily as it will crawl file.html. But it will crawl php files with query strings (file.php?&content=stuff) much more cautiously, and pagerank for those files will be lower (in my experience).

You can use mod_rewrite in a .htaccess file to rewrite your urls as static files and google will eat them up.

mylungsarempty

7:37 pm on Dec 22, 2003 (gmt 0)

10+ Year Member



Thanks for the feedback!

"use mod_rewrite in a .htaccess file to rewrite your urls as static files"

can you elaborate on that at all? i just recently became familiar with the .htaccess file.

Robino

7:51 pm on Dec 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



"http://httpd.apache.org/docs/mod/mod_rewrite.html"

jatar_k

7:56 pm on Dec 22, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



there are no probs with php files whatsoever.

query strings are a problem related to any site/language.

they aren't necessary and can be gotten around many ways, mod rewrite is a very good way. Proper design is an even better way.