Forum Moderators: open

Message Too Old, No Replies

Mixing technologies bad for optimization?

is html + php on a site will penalize me?

         

followgreg

4:07 am on Nov 16, 2004 (gmt 0)

10+ Year Member



Hi,

Do you think that mixing html on some pages + PHP on some other pages will get me penalized?
I never did it but have the possibility right now, should i do it or convert an entire site in PHP, or html + cgi?

Thanks!

diamondgrl

4:29 am on Nov 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It shouldn't be a problem, as long as you are careful with your variables in your URL with script languages. If you have session IDs, for example, you could be in trouble.

However, there is a fair amount of speculation that Google might crawl slower with obviously scripted pages. If your site is big and want fast crawling, you might consider disguising the PHP/CGI pages as .html. In Apache you can do this with a mod rewrite, I believe. In IIS, you can interpret all .html files as scripted pages. I've used this approach myself.

Jack_Hughes

2:49 pm on Nov 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



is just a mod rewrite sufficient? I was of the impression that the HTTP headers are slightly different for dynamic pages (like page size isn't set for dynamic pages) visavi static ones.

It is a topic I will have to confront in the next few weeks as I converting some static pages over to PHP (so that they can be integrated into an e-commerce system I am introducing on an existing site).