Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

Search Engine Friendly Templates!

Quote Reply
Search Engine Friendly Templates!
Hi,

We've put together a set of template sets (well, 4 templates in total), that will allow you to present search engine friendly URL's! This will allow you to have your forum content archived by spiders, without having to go to the overhead of actually creating static html pages.

This requires mod_rewrite to work properly. You need to add the following rewrite rules to a .htaccess file or httpd.conf, and then add the attached templates to your templates directory.

RewriteRule ^/forum/.*P([0-9]+)/?$ /perl/gforum/gforum.cgi?post=$1&t=search_engine [L]
RewriteRule ^/forum/.*P([0-9]+)-([0-9]+)/?$ /perl/gforum/gforum.cgi?post=$1&page=$2&t=search_engine [L]
RewriteRule ^/forum/.*C([0-9]+)/?$ /perl/gforum/gforum.cgi?category=$1&t=search_engine [L]
RewriteRule ^/forum/.*F([0-9]+)/?$ /perl/gforum/gforum.cgi?forum=$1&t=search_engine [L]
RewriteRule ^/forum/.*F([0-9]+)-([0-9]+)/?$ /perl/gforum/gforum.cgi?forum=$1&page=$2&t=search_engine [L]
RewriteRule ^/forum/?$ /perl/gforum/gforum.cgi?t=search_engine [L]
RewriteRule ^/forum/.*gforum.cgi /perl/gforum/gforum.cgi?%{QUERY_STRING} [R,NE,L]


You can see a demo of this at:

http://gossamer-threads.com/forum/

Let me know what you think!

Cheers,

Alex
--
Gossamer Threads Inc.

Last edited by:

Alex: Jan 24, 2002, 6:34 PM
Subject Author Views Date
Thread Search Engine Friendly Templates! Alex 33085 Jan 24, 2002, 6:16 PM
Thread Re: [Alex] Search Engine Friendly Templates!
Franco 31975 Jan 24, 2002, 8:12 PM
Thread Re: [Franco] Search Engine Friendly Templates!
brewt 31882 Jan 24, 2002, 8:47 PM
Thread Re: [brewt] Search Engine Friendly Templates!
Franco 31886 Jan 24, 2002, 8:53 PM
Thread Re: [Franco] Search Engine Friendly Templates!
brewt 31847 Jan 24, 2002, 9:19 PM
Thread Re: [brewt] Search Engine Friendly Templates!
Franco 31890 Jan 24, 2002, 9:42 PM
Post Re: [Franco] Search Engine Friendly Templates!
brewt 31801 Jan 24, 2002, 9:52 PM
Thread Re: [Franco] Search Engine Friendly Templates!
paulj 31310 Feb 8, 2002, 2:10 PM
Thread Re: [paulj] Search Engine Friendly Templates!
ellipsiiis 31378 Feb 9, 2002, 8:06 AM
Thread Re: [ellipsiiis] Search Engine Friendly Templates!
Alex 31409 Feb 9, 2002, 1:06 PM
Post Re: [Alex] Search Engine Friendly Templates!
maxpico 30757 Apr 14, 2002, 5:56 AM
Post Re: [brewt] Search Engine Friendly Templates!
BLOOD 14347 Nov 1, 2003, 1:10 AM
Post Re: [Alex] Search Engine Friendly Templates!
yogi 31786 Jan 25, 2002, 1:35 AM
Post Re: [Alex] Search Engine Friendly Templates!
kjellkk 31771 Jan 25, 2002, 7:08 AM
Thread Re: [Alex] Search Engine Friendly Templates!
Franco 31695 Jan 27, 2002, 10:38 AM
Thread Re: [Franco] Search Engine Friendly Templates!
Jagerman 31652 Jan 28, 2002, 5:39 PM
Thread Re: [jagerman] Search Engine Friendly Templates!
Franco 31689 Jan 28, 2002, 9:51 PM
Thread Re: [Franco] Search Engine Friendly Templates!
Jagerman 31635 Jan 29, 2002, 9:42 AM
Post Re: [jagerman] Search Engine Friendly Templates!
bgkhoo 31528 Jan 31, 2002, 4:40 AM
Thread Re: [Alex] Search Engine Friendly Templates!
el noe 31670 Jan 29, 2002, 4:07 AM
Post Re: [el noe] Search Engine Friendly Templates!
el noe 31531 Jan 29, 2002, 7:55 AM
Thread Re: [Alex] Search Engine Friendly Templates!
ellipsiiis 31583 Jan 31, 2002, 10:06 AM
Thread Re: [ellipsiiis] Search Engine Friendly Templates!
ArmyAirForces 31410 Feb 1, 2002, 12:39 PM
Post Re: [heavybombers] Search Engine Friendly Templates!
ArmyAirForces 31259 Feb 8, 2002, 1:30 PM
Thread Re: [Alex] Search Engine Friendly Templates!
hennagaijin 30418 Jun 24, 2002, 6:06 PM
Thread Re: [adamuforestasan] Search Engine Friendly Templates!
Jagerman 30409 Jun 27, 2002, 8:48 AM
Thread Re: [Jagerman] Search Engine Friendly Templates!
hennagaijin 13705 Jun 27, 2002, 8:56 AM
Thread Re: [adamuforestasan] Search Engine Friendly Templates!
Jagerman 13717 Jun 27, 2002, 9:06 AM
Post Re: [Jagerman] Search Engine Friendly Templates!
hennagaijin 13603 Jun 27, 2002, 9:23 AM
Thread Re: [Jagerman] Search Engine Friendly Templates!
hennagaijin 13701 Jun 27, 2002, 1:43 PM
Thread Re: [adamuforestasan] Search Engine Friendly Templates!
Franco 13666 Jun 27, 2002, 3:43 PM
Post Re: [Franco] Search Engine Friendly Templates!
hennagaijin 13593 Jun 27, 2002, 4:07 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
shiner 15510 Mar 24, 2003, 8:36 PM
Thread Re: [shiner] Search Engine Friendly Templates!
Alex 15549 Mar 24, 2003, 10:42 PM
Thread Re: [Alex] Search Engine Friendly Templates!
shiner 15562 Mar 25, 2003, 8:40 PM
Thread Re: [shiner] Search Engine Friendly Templates!
Jagerman 15523 Mar 27, 2003, 11:28 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
shiner 15508 Mar 28, 2003, 12:11 PM
Thread Re: [shiner] Search Engine Friendly Templates!
Jagerman 15517 Mar 28, 2003, 12:34 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
shiner 15502 Mar 28, 2003, 4:16 PM
Thread Re: [shiner] Search Engine Friendly Templates!
nathanx 15440 Mar 31, 2003, 6:19 AM
Thread Re: [catlovette] Search Engine Friendly Templates!
carfac 15346 May 9, 2003, 8:21 AM
Thread Re: [carfac] Search Engine Friendly Templates!
carfac 15416 May 9, 2003, 11:44 AM
Thread Re: [carfac] Search Engine Friendly Templates!
carfac 15384 May 9, 2003, 12:25 PM
Thread Re: [carfac] Search Engine Friendly Templates!
kailew 15360 May 11, 2003, 2:20 PM
Post Re: [kailew] Search Engine Friendly Templates!
kailew 15247 May 13, 2003, 12:28 AM
Thread Re: [Jagerman] Search Engine Friendly Templates!
pugdog 14478 Sep 30, 2003, 7:07 AM
Thread Re: [pugdog] Search Engine Friendly Templates!
galfriday 14426 Oct 9, 2003, 12:03 PM
Post Re: [galfriday] Search Engine Friendly Templates!
galfriday 14428 Oct 9, 2003, 6:50 PM
Post Re: [adamuforestasan] Search Engine Friendly Templates!
Franco 13638 Jun 27, 2002, 9:00 AM
Thread Re: [Alex] Search Engine Friendly Templates!
Ian 13550 Aug 17, 2002, 9:45 PM
Thread Re: [Ian] Search Engine Friendly Templates!
hennagaijin 13484 Aug 18, 2002, 3:36 PM
Thread Re: [hennagaijin] Search Engine Friendly Templates!
maxpico 13541 Sep 1, 2002, 2:13 AM
Thread Re: [maxpico] Search Engine Friendly Templates!
maxpico 13464 Sep 1, 2002, 2:35 AM
Thread Re: [maxpico] Search Engine Friendly Templates!
hennagaijin 13431 Sep 1, 2002, 9:46 AM
Thread Re: [hennagaijin] Search Engine Friendly Templates!
maxpico 13490 Sep 1, 2002, 9:48 AM
Thread Re: [maxpico] Search Engine Friendly Templates!
Jagerman 13675 Sep 13, 2002, 3:47 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
hennagaijin 13291 Sep 14, 2002, 3:59 AM
Thread Re: [hennagaijin] Search Engine Friendly Templates!
Alex 13333 Sep 14, 2002, 9:13 AM
Thread Re: [Alex] Search Engine Friendly Templates!
hennagaijin 13276 Sep 14, 2002, 9:30 AM
Thread Re: [hennagaijin] Search Engine Friendly Templates!
Alex 13360 Sep 14, 2002, 9:40 AM
Thread Re: [Alex] Search Engine Friendly Templates!
hennagaijin 13402 Sep 14, 2002, 9:43 AM
Post Re: [hennagaijin] Search Engine Friendly Templates!
maxpico 13260 Sep 18, 2002, 10:41 AM
Post Re: [Alex] Search Engine Friendly Templates!
ellipsiiis 13306 Sep 13, 2002, 4:32 PM
Post Post deleted by shiner
shiner 12724 Jan 28, 2003, 9:24 PM
Thread Re: [Alex] Search Engine Friendly Templates!
shiner 12794 Jan 28, 2003, 9:31 PM
Thread Re: [shiner] Search Engine Friendly Templates!
Wil 12680 Mar 5, 2003, 1:48 AM
Thread Re: [Wil] Search Engine Friendly Templates!
shiner 12659 Mar 5, 2003, 8:18 AM
Post Re: [shiner] Search Engine Friendly Templates!
Andy 15580 Mar 5, 2003, 9:12 AM
Thread Re: [shiner] Search Engine Friendly Templates!
Paul 15637 Mar 5, 2003, 9:21 AM
Post Re: [Paul] Search Engine Friendly Templates!
shiner 15561 Mar 5, 2003, 9:30 AM
Thread Re: [Alex] Search Engine Friendly Templates!
fmp 15015 Aug 4, 2003, 2:57 AM
Post Re: [fmp] Search Engine Friendly Templates!
fmp 14747 Aug 16, 2003, 2:22 AM
Thread Re: [Alex] Search Engine Friendly Templates!
webslicer 14106 Mar 11, 2004, 2:26 AM
Thread Re: [webslicer] Search Engine Friendly Templates!
rh 14606 Mar 17, 2004, 1:55 PM
Thread Re: [rh] Search Engine Friendly Templates!
webslicer 14095 Mar 17, 2004, 2:03 PM
Thread Re: [webslicer] Search Engine Friendly Templates!
afinlr 12302 Mar 17, 2004, 3:53 PM
Thread Re: [afinlr] Search Engine Friendly Templates!
webslicer 12415 Mar 17, 2004, 4:10 PM
Post Re: [webslicer] Search Engine Friendly Templates!
afinlr 12273 Mar 17, 2004, 4:37 PM
Thread Re: [webslicer] Search Engine Friendly Templates!
rh 12359 Mar 17, 2004, 4:33 PM
Thread Re: [rh] Search Engine Friendly Templates!
webslicer 12266 Mar 17, 2004, 8:34 PM
Thread Re: [webslicer] Search Engine Friendly Templates!
rh 12203 Mar 21, 2004, 3:24 PM
Thread Re: [rh] Search Engine Friendly Templates!
pugdog 12050 May 6, 2004, 8:30 PM
Thread Re: [pugdog] Search Engine Friendly Templates!
ccunet 12170 May 7, 2004, 5:34 AM
Thread Re: [ccunet] Search Engine Friendly Templates!
pugdog 12096 May 10, 2004, 10:46 AM
Post Re: [pugdog] Search Engine Friendly Templates!
ccunet 12056 May 10, 2004, 6:15 PM
Thread Re: [Alex] Search Engine Friendly Templates!
anup123 12010 May 15, 2004, 7:44 AM
Thread Re: [anup123] Search Engine Friendly Templates!
abacab 12002 May 15, 2004, 8:08 AM
Thread Re: [abacab] Search Engine Friendly Templates!
ccunet 12050 May 15, 2004, 7:17 PM
Thread Re: [ccunet] Search Engine Friendly Templates!
afinlr 12052 May 16, 2004, 7:40 AM
Thread Re: [afinlr] Search Engine Friendly Templates!
ccunet 12002 May 16, 2004, 8:35 AM
Thread Re: [ccunet] Search Engine Friendly Templates!
afinlr 12026 May 16, 2004, 9:13 AM
Post Re: [afinlr] Search Engine Friendly Templates!
ccunet 11974 May 16, 2004, 10:40 AM
Post Re: [afinlr] Search Engine Friendly Templates!
anup123 11949 May 16, 2004, 10:59 AM
Thread Re: [Alex] Search Engine Friendly Templates!
hoefti 11927 May 25, 2004, 5:35 PM
Post Re: [hoefti] Search Engine Friendly Templates!
ccunet 11850 May 26, 2004, 6:26 AM
Thread Re: [Alex] Search Engine Friendly Templates!
fmp 11992 Jul 4, 2004, 9:11 AM
Thread Re: [fmp] Search Engine Friendly Templates!
Jagerman 11859 Jul 4, 2004, 8:36 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
fmp 11828 Jul 5, 2004, 12:20 AM
Post Re: [fmp] Search Engine Friendly Templates!
fmp 11789 Jul 6, 2004, 12:03 AM
Thread Re: [Jagerman] Search Engine Friendly Templates!
fmp 11760 Jul 6, 2004, 3:09 PM
Thread Re: [fmp] Search Engine Friendly Templates!
fmp 6198 Jul 7, 2004, 2:57 PM
Thread Re: [fmp] Search Engine Friendly Templates!
fmp 6167 Jul 8, 2004, 2:57 PM
Thread Re: [fmp] Search Engine Friendly Templates!
fmp 6211 Jul 10, 2004, 1:57 AM
Post Post deleted by carminejg3
carminejg3 5309 Jan 15, 2006, 1:33 PM
Thread Re: [fmp] Search Engine Friendly Templates!
maxpico 5387 Mar 13, 2006, 7:52 AM
Post Re: [maxpico] Search Engine Friendly Templates!
MJB 5202 Apr 9, 2006, 3:42 PM
Thread Re: [fmp] Search Engine Friendly Templates!
discusswireless 5267 Apr 29, 2006, 12:51 PM
Post Re: [discusswireless] Search Engine Friendly Templates!
soaringesq 5115 Jun 10, 2006, 7:25 AM