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

Re: [Dan Kaplan] why add 'do=page' to links?

Quote Reply
Re: [Dan Kaplan] why add 'do=page' to links? In reply to
My host may not be worth hosting with (they've been great historically, though a little problematic lately), but I nonetheless have a whole bunch of dynamic content being accessed via static-looking urls and mod_rewrite and I haven't encountered major problems. Most major spiders are fairly gentle, but you're right that there are some that are less polite (once you catch them, however, you can usually ban them altogether with robots.txt).

I'm using GT's Search Engine Friendly forum templates, along with my own simplified implementation for numerous DBManSQL databases. As for LinksSQL, I currently accomplish my url needs with:

RewriteRule ^links/(.+) /cgi-bin/page.cgi?g=$1 [L]
RewriteRule ^links/?$ /cgi-bin/page.cgi [L]


That said, I've been looking at making the switch to PHP so that I can use mysql_pconnect to reduce the number of MySQL connections (you may have noticed a number of posts I've made on this subject lately.) I'm not interesting in making that switch, however, unless I can still have search-engine-friendly (i.e. static-looking) urls in my links directory.

So... I feel like a major dunce for continuing to ask the same question, but I have to admit that I'm still not clear on how to get a php template to generate those static-looking urls. I didn't want to badger Adrian any longer, but since I've got your attention, maybe you can shed some light on this. What do I need to change so that category and detailed links appear in that static-like format in my php templates? Does a change need to be made to the templates themselves, or to an admin setting, or is there a global I need to write?? I know it must be something obvious, but its apparently SO obvious that I'm missing it entirely! wouldn't be the first time... Unsure

Many thanks for any assistance you can provide.

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Subject Author Views Date
Thread why add 'do=page' to links? Dan Kaplan 13406 Jun 27, 2002, 11:46 AM
Thread Re: [Dan Kaplan] why add 'do=page' to links?
brewt 13197 Jun 27, 2002, 1:01 PM
Thread Re: [brewt] why add 'do=page' to links?
Dan Kaplan 13239 Jun 27, 2002, 1:12 PM
Thread Re: [Dan Kaplan] why add 'do=page' to links?
Dan Kaplan 13277 Jun 29, 2002, 11:35 AM
Thread Re: [Dan Kaplan] why add 'do=page' to links?
brewt 13206 Jun 30, 2002, 1:59 AM
Thread Re: [brewt] why add 'do=page' to links?
Dan Kaplan 13160 Jun 30, 2002, 8:39 AM
Post Re: [Dan Kaplan] why add 'do=page' to links?
brewt 13179 Jun 30, 2002, 12:54 PM
Thread Re: [Dan Kaplan] why add 'do=page' to links?
edernest 13079 Aug 27, 2002, 11:54 AM
Thread Re: [edernest] why add 'do=page' to links?
Dan Kaplan 13103 Aug 27, 2002, 11:57 AM
Thread Re: [Dan Kaplan] why add 'do=page' to links?
edernest 13061 Aug 27, 2002, 12:08 PM
Post Re: [edernest] why add 'do=page' to links?
Dan Kaplan 13060 Aug 27, 2002, 12:12 PM
Thread Re: [Dan Kaplan] why add 'do=page' to links?
brewt 13077 Aug 27, 2002, 12:46 PM
Thread Re: [brewt] why add 'do=page' to links?
Dan Kaplan 13063 Aug 27, 2002, 3:03 PM
Thread Re: [Dan Kaplan] why add 'do=page' to links?
brewt 13126 Aug 27, 2002, 3:39 PM
Post Re: [brewt] why add 'do=page' to links?
Dan Kaplan 13065 Aug 27, 2002, 3:46 PM
Thread Re: [brewt] why add 'do=page' to links?
hennagaijin 12787 Nov 20, 2002, 5:22 AM
Thread Re: [hennagaijin] why add 'do=page' to links?
brewt 12760 Nov 20, 2002, 12:43 PM
Thread Re: [brewt] why add 'do=page' to links?
hennagaijin 12755 Nov 20, 2002, 12:59 PM
Post Re: [hennagaijin] why add 'do=page' to links?
brewt 12717 Nov 20, 2002, 6:26 PM
Thread Re: [hennagaijin] why add 'do=page' to links?
Dan Kaplan 12768 Nov 22, 2002, 7:14 PM
Thread Re: [Dan Kaplan] why add 'do=page' to links?
hennagaijin 12709 Nov 22, 2002, 7:40 PM
Thread Re: [hennagaijin] why add 'do=page' to links?
Dan Kaplan 12754 Nov 22, 2002, 9:41 PM
Post Re: [Dan Kaplan] why add 'do=page' to links?
hennagaijin 12669 Nov 23, 2002, 7:17 AM