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
Subject Author Views Date
Thread mod_rewrite for static-looking pages in PHP mode hennagaijin 4450 Nov 19, 2002, 8:06 PM
Thread Re: [hennagaijin] mod_rewrite for static-looking pages in PHP mode
Alex 4341 Nov 19, 2002, 8:35 PM
Post Re: [Alex] mod_rewrite for static-looking pages in PHP mode
hennagaijin 4308 Nov 20, 2002, 5:23 AM