Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

mod_rewrite for static-looking pages in PHP mode

Quote Reply
mod_rewrite for static-looking pages in PHP mode
Oh dear. As anyone reading my myriad recent long-winded posts in this and the LinksSQL Discussion forum will have noticed, I'm trying to make the switch from running Links SQL in cgi mode to php mode. However, I'm currently using some mod_rewrite rules so that the pages can be accessed through "static-looking" urls (this is mostly for search engine friendliness).

Having only just now started to look at the links generated by the php templates, I'm wondering if it will be possible to keep my static-like pages? Has anyone come up with a set of mod_rewrite rules that rewrites to page.php instead of page.cgi? Is it even possible to do so without making some major modifications to the script (since I can't seem to find any easy way of generating static links with the PHP templates)?

Any ideas would be greatly appreciated. Thanks.

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Quote Reply
Re: [hennagaijin] mod_rewrite for static-looking pages in PHP mode In reply to
Have a look at:

http://www.gossamer-threads.com/...i?post=213371#213371

For more info.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] mod_rewrite for static-looking pages in PHP mode In reply to
Thanks, Alex. I saw that thread but I couldn't quite follow it for some reason. Anyway, I posted a response, and hopefully I'll get to the bottom of all this eventually. Thanks for all your help.

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund