Forum Moderators: phranque

Message Too Old, No Replies

dynamic pages with a .html ending

how can a page be html and dynamic?

         

proper_bo

11:37 pm on Aug 27, 2004 (gmt 0)

10+ Year Member



I have found a couple of websites that use .html then a dynamic string on the end (I dont think I can link to them here so I hope other people have too)

here is an example:

index.html?section=admin&product=115

does the server have to be specially set up to read html as dynamic or am I missing something here? I have had a search around and come away with nothing.

encyclo

12:00 am on Aug 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can set the server to parse any file extension you want as dynamic, be it ASP, PHP or any other scripting language. So it is perfectly possible to have the type of URL you mention. With tools such as mod_rewrite, you can get rid of the parameters and hide them within a standard URL structure even of the site is entirely dynamic: it can be useful not only for useability, but also for SEO.

By default, a server might be set up to parse files ending in .php as PHP files, but it is good practice not to identify the scripting language used for dynamic sites.

coho75

3:13 am on Aug 28, 2004 (gmt 0)

10+ Year Member



As encyclo said, any file can be dynamic. You can search Google or this board (apache forum) for .htaccess. In this file different commands can be formed to tell the server to parse files in a certain way.

coho75