October 16th, 2000, 01:04 AM
Can PHP pages be spidered by search engines?
I know that most engines will ignore any pages that have a ? in it, or any .cgi pages.
What do you think? PHP pages the same way?
October 16th, 2000, 04:23 AM
I've heard it's the same with PHP pages, search engines tend to ignore them.
Some people try to trick the search engines by having .html pages parsed as PHP. I don't know if it works or not, and it's not supposed to be to much of an extra load on your server. One good way would be to have .htm as regualar html and .html as PHP.
October 16th, 2000, 06:21 AM
Well i know search engines can spider my .phtml page!
I can't see a reason why they can't because when you ask a php page the server only shows the html and not the php code!
If im wrong please correct me
Quote the Dokus:"NeverMore!"
October 16th, 2000, 08:19 AM
The problem does not involve the extension, but rather the query string. This is true for all URLs.
October 16th, 2000, 11:14 AM
If you search the PHP forum for 'mod_rewrite' (if you use Apache), there is some good info on how to hide the query string.
October 16th, 2000, 02:11 PM
>>If you search the PHP forum for 'mod_rewrite'
Check here for a direct link (in Apache Forum) http://www.devshed.com/Talk/Forums/F...ML/000083.html only if you don't mind to read this long thread. There are various examples for you to choose from.
[This message has been edited by freebsd (edited October 16, 2000).]
October 17th, 2000, 12:58 AM
My mistake, yes it was in the Apache forum.