Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

PHP & Static Pages

Quote Reply
PHP & Static Pages
I run a PHP enabled web site. I use PHP Includes on otherwise static pages quite a bit.

Here is my question:

Can I run Links SQL in static mode and use a *.php extension vs. *.html

Example:

This is how your demo works:

http://www.gossamer-threads.com/...hitecture/index.html

I would like the following:


http://www.gossamer-threads.com/...chitecture/index.php

I DO NOT want to run in dynamic PHP mode. This is for 2 reasons - performance and search engine friendliness.

Please let me know if there is a configuration that would allow me to do this.

Thank You!Smile
Quote Reply
Re: [mddrew01] PHP & Static Pages In reply to
Hi,

Yes, under Setup->Build Options you can specify that you want a .php extension. Then in your templates, you add any php code which will be ignored by our template parser during building, but executed by the server when a user visits the page.

Cheers,

Alex
--
Gossamer Threads Inc.