Forum Moderators: open
My biggest concern with this approach is the possible negative reaction from Google. Will Google consider this approach as less-than-honest and ban us from inclusion?
The search engine robots really don't care how your page was created as long it returns well structured HTML.
Besides, if you return some HTML in response to a request for a .html file it is impossible to know if that page was generated on the fly or not.
However,
When people talk about the problems of dynamic pages and search engines; it is not so much about how the page was created, but how search engine spiders deal with complex URL's that contain all sorts of variables being passed back and forth between client and server.
For example, where you have a URL looking like:
somepage.html?foo=bar&color=red&size=large etc. etc. etc., then a spider may think twice about following it.
Search this site for "dynamic pages" for plenty of threads on this subject.
Cheers.
Agreed. It's also nice for security I believe, I have a dictionary.asp page that uses PHP, anyone would think it was ASP :)
There is an option called "expose PHP" in the php.ini file. If you turn it to "off" and have static URL's I can't see any way that a bot could know you are using a scripting language like PHP/ASP
[yourdomain.com...]
instead of
[yourdomain.com...]
The second link is no better than using the php extension. If you don't want to use mod_rewrite you can also parse out the REQUEST_URI to get the variables
if (!ereg("=",getenv('REQUEST_URI')) and (!ereg("\?",getenv('REQUEST_URI')))) {
$url_array=explode("/",getenv('REQUEST_URI')); //BREAK UP THE URL PATH
etc etc