Forum Moderators: phranque

Message Too Old, No Replies

How to convert PHP to html on the fly?

         

Naty

10:37 am on Jul 25, 2005 (gmt 0)

10+ Year Member



I want to convert +500 PHP pages to html
Becuase I think google or other search engine doesn't grab dynamic page.
Anyone have idea?

Thanks

trillianjedi

12:21 pm on Jul 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



All the main search engines will index dynamic content - so long as you do not serve their bots with Session ID's and keep the variables down to a low number (less than 3, ideally).

If you run Apache, you can use mod_rewrite to create static HTML "looking" URL's out of your dynamic style URL's.

For information on how to do that, have a read through the Apache forum here, or try this search:-

[google.com...]

TJ

Anyango

3:28 pm on Jul 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



and if your php pages are php because just because they have extension .php and you want to convert em to .html feeling that bots wont read your .php pages because they are dynamic, that is incorrect.

extension doesnt matter but the way your website serves the pages that matters.

I strongly agree with TJ

sapparod

2:40 am on Aug 3, 2005 (gmt 0)

10+ Year Member



hi,
I found this; google.com index your .php and I found that ebay web site that use .php google index the webpage of that website 2,000 page only but alibaba use .html google index 800,000 web page. I don't know why? I use .php too. May be I will change to .html

2by4

5:15 am on Aug 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There is no difference between using .html and .php, if you are using one or the other, don't change, you'll just mess up your search engine results.

I usually use .htm just because I like it, but it makes no difference at all if you use .php or .htm or .asp or .jsp or .pl or nothing, like file1