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 29857 Jan 24, 2002, 6:16 PM
Thread Re: [Alex] Search Engine Friendly Templates!
Franco 29571 Jan 24, 2002, 8:12 PM
Thread Re: [Franco] Search Engine Friendly Templates!
brewt 29470 Jan 24, 2002, 8:47 PM
Thread Re: [brewt] Search Engine Friendly Templates!
Franco 29454 Jan 24, 2002, 8:53 PM
Thread Re: [Franco] Search Engine Friendly Templates!
brewt 29442 Jan 24, 2002, 9:19 PM
Thread Re: [brewt] Search Engine Friendly Templates!
Franco 29497 Jan 24, 2002, 9:42 PM
Post Re: [Franco] Search Engine Friendly Templates!
brewt 29387 Jan 24, 2002, 9:52 PM
Thread Re: [Franco] Search Engine Friendly Templates!
paulj 28905 Feb 8, 2002, 2:10 PM
Thread Re: [paulj] Search Engine Friendly Templates!
ellipsiiis 28972 Feb 9, 2002, 8:06 AM
Thread Re: [ellipsiiis] Search Engine Friendly Templates!
Alex 28995 Feb 9, 2002, 1:06 PM
Post Re: [Alex] Search Engine Friendly Templates!
maxpico 28355 Apr 14, 2002, 5:56 AM
Post Re: [brewt] Search Engine Friendly Templates!
BLOOD 11962 Nov 1, 2003, 1:10 AM
Post Re: [Alex] Search Engine Friendly Templates!
yogi 29382 Jan 25, 2002, 1:35 AM
Post Re: [Alex] Search Engine Friendly Templates!
kjellkk 29368 Jan 25, 2002, 7:08 AM
Thread Re: [Alex] Search Engine Friendly Templates!
Franco 29292 Jan 27, 2002, 10:38 AM
Thread Re: [Franco] Search Engine Friendly Templates!
Jagerman 29236 Jan 28, 2002, 5:39 PM
Thread Re: [jagerman] Search Engine Friendly Templates!
Franco 29272 Jan 28, 2002, 9:51 PM
Thread Re: [Franco] Search Engine Friendly Templates!
Jagerman 29224 Jan 29, 2002, 9:42 AM
Post Re: [jagerman] Search Engine Friendly Templates!
bgkhoo 29114 Jan 31, 2002, 4:40 AM
Thread Re: [Alex] Search Engine Friendly Templates!
el noe 29272 Jan 29, 2002, 4:07 AM
Post Re: [el noe] Search Engine Friendly Templates!
el noe 29125 Jan 29, 2002, 7:55 AM
Thread Re: [Alex] Search Engine Friendly Templates!
ellipsiiis 29131 Jan 31, 2002, 10:06 AM
Thread Re: [ellipsiiis] Search Engine Friendly Templates!
ArmyAirForces 29004 Feb 1, 2002, 12:39 PM
Post Re: [heavybombers] Search Engine Friendly Templates!
ArmyAirForces 28859 Feb 8, 2002, 1:30 PM
Thread Re: [Alex] Search Engine Friendly Templates!
hennagaijin 28019 Jun 24, 2002, 6:06 PM
Thread Re: [adamuforestasan] Search Engine Friendly Templates!
Jagerman 28004 Jun 27, 2002, 8:48 AM
Thread Re: [Jagerman] Search Engine Friendly Templates!
hennagaijin 11695 Jun 27, 2002, 8:56 AM
Thread Re: [adamuforestasan] Search Engine Friendly Templates!
Jagerman 11685 Jun 27, 2002, 9:06 AM
Post Re: [Jagerman] Search Engine Friendly Templates!
hennagaijin 11596 Jun 27, 2002, 9:23 AM
Thread Re: [Jagerman] Search Engine Friendly Templates!
hennagaijin 11697 Jun 27, 2002, 1:43 PM
Thread Re: [adamuforestasan] Search Engine Friendly Templates!
Franco 11630 Jun 27, 2002, 3:43 PM
Post Re: [Franco] Search Engine Friendly Templates!
hennagaijin 11582 Jun 27, 2002, 4:07 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
shiner 13139 Mar 24, 2003, 8:36 PM
Thread Re: [shiner] Search Engine Friendly Templates!
Alex 13174 Mar 24, 2003, 10:42 PM
Thread Re: [Alex] Search Engine Friendly Templates!
shiner 13176 Mar 25, 2003, 8:40 PM
Thread Re: [shiner] Search Engine Friendly Templates!
Jagerman 13129 Mar 27, 2003, 11:28 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
shiner 13116 Mar 28, 2003, 12:11 PM
Thread Re: [shiner] Search Engine Friendly Templates!
Jagerman 13127 Mar 28, 2003, 12:34 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
shiner 13121 Mar 28, 2003, 4:16 PM
Thread Re: [shiner] Search Engine Friendly Templates!
nathanx 13061 Mar 31, 2003, 6:19 AM
Thread Re: [catlovette] Search Engine Friendly Templates!
carfac 12957 May 9, 2003, 8:21 AM
Thread Re: [carfac] Search Engine Friendly Templates!
carfac 13028 May 9, 2003, 11:44 AM
Thread Re: [carfac] Search Engine Friendly Templates!
carfac 12995 May 9, 2003, 12:25 PM
Thread Re: [carfac] Search Engine Friendly Templates!
kailew 12973 May 11, 2003, 2:20 PM
Post Re: [kailew] Search Engine Friendly Templates!
kailew 12850 May 13, 2003, 12:28 AM
Thread Re: [Jagerman] Search Engine Friendly Templates!
pugdog 12107 Sep 30, 2003, 7:07 AM
Thread Re: [pugdog] Search Engine Friendly Templates!
galfriday 12049 Oct 9, 2003, 12:03 PM
Post Re: [galfriday] Search Engine Friendly Templates!
galfriday 12041 Oct 9, 2003, 6:50 PM
Post Re: [adamuforestasan] Search Engine Friendly Templates!
Franco 11611 Jun 27, 2002, 9:00 AM
Thread Re: [Alex] Search Engine Friendly Templates!
Ian 11517 Aug 17, 2002, 9:45 PM
Thread Re: [Ian] Search Engine Friendly Templates!
hennagaijin 11474 Aug 18, 2002, 3:36 PM
Thread Re: [hennagaijin] Search Engine Friendly Templates!
maxpico 11515 Sep 1, 2002, 2:13 AM
Thread Re: [maxpico] Search Engine Friendly Templates!
maxpico 11432 Sep 1, 2002, 2:35 AM
Thread Re: [maxpico] Search Engine Friendly Templates!
hennagaijin 11405 Sep 1, 2002, 9:46 AM
Thread Re: [hennagaijin] Search Engine Friendly Templates!
maxpico 11451 Sep 1, 2002, 9:48 AM
Thread Re: [maxpico] Search Engine Friendly Templates!
Jagerman 11274 Sep 13, 2002, 3:47 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
hennagaijin 11273 Sep 14, 2002, 3:59 AM
Thread Re: [hennagaijin] Search Engine Friendly Templates!
Alex 11325 Sep 14, 2002, 9:13 AM
Thread Re: [Alex] Search Engine Friendly Templates!
hennagaijin 11252 Sep 14, 2002, 9:30 AM
Thread Re: [hennagaijin] Search Engine Friendly Templates!
Alex 11318 Sep 14, 2002, 9:40 AM
Thread Re: [Alex] Search Engine Friendly Templates!
hennagaijin 11381 Sep 14, 2002, 9:43 AM
Post Re: [hennagaijin] Search Engine Friendly Templates!
maxpico 11231 Sep 18, 2002, 10:41 AM
Post Re: [Alex] Search Engine Friendly Templates!
ellipsiiis 11288 Sep 13, 2002, 4:32 PM
Post Post deleted by shiner
shiner 10711 Jan 28, 2003, 9:24 PM
Thread Re: [Alex] Search Engine Friendly Templates!
shiner 10636 Jan 28, 2003, 9:31 PM
Thread Re: [shiner] Search Engine Friendly Templates!
Wil 10664 Mar 5, 2003, 1:48 AM
Thread Re: [Wil] Search Engine Friendly Templates!
shiner 10627 Mar 5, 2003, 8:18 AM
Post Re: [shiner] Search Engine Friendly Templates!
Andy 13196 Mar 5, 2003, 9:12 AM
Thread Re: [shiner] Search Engine Friendly Templates!
Paul 13244 Mar 5, 2003, 9:21 AM
Post Re: [Paul] Search Engine Friendly Templates!
shiner 13175 Mar 5, 2003, 9:30 AM
Thread Re: [Alex] Search Engine Friendly Templates!
fmp 12637 Aug 4, 2003, 2:57 AM
Post Re: [fmp] Search Engine Friendly Templates!
fmp 12367 Aug 16, 2003, 2:22 AM
Thread Re: [Alex] Search Engine Friendly Templates!
webslicer 11725 Mar 11, 2004, 2:26 AM
Thread Re: [webslicer] Search Engine Friendly Templates!
rh 11684 Mar 17, 2004, 1:55 PM
Thread Re: [rh] Search Engine Friendly Templates!
webslicer 11715 Mar 17, 2004, 2:03 PM
Thread Re: [webslicer] Search Engine Friendly Templates!
afinlr 10280 Mar 17, 2004, 3:53 PM
Thread Re: [afinlr] Search Engine Friendly Templates!
webslicer 10268 Mar 17, 2004, 4:10 PM
Post Re: [webslicer] Search Engine Friendly Templates!
afinlr 10252 Mar 17, 2004, 4:37 PM
Thread Re: [webslicer] Search Engine Friendly Templates!
rh 10344 Mar 17, 2004, 4:33 PM
Thread Re: [rh] Search Engine Friendly Templates!
webslicer 10248 Mar 17, 2004, 8:34 PM
Thread Re: [webslicer] Search Engine Friendly Templates!
rh 10188 Mar 21, 2004, 3:24 PM
Thread Re: [rh] Search Engine Friendly Templates!
pugdog 10032 May 6, 2004, 8:30 PM
Thread Re: [pugdog] Search Engine Friendly Templates!
ccunet 10154 May 7, 2004, 5:34 AM
Thread Re: [ccunet] Search Engine Friendly Templates!
pugdog 10068 May 10, 2004, 10:46 AM
Post Re: [pugdog] Search Engine Friendly Templates!
ccunet 10038 May 10, 2004, 6:15 PM
Thread Re: [Alex] Search Engine Friendly Templates!
anup123 10004 May 15, 2004, 7:44 AM
Thread Re: [anup123] Search Engine Friendly Templates!
abacab 9989 May 15, 2004, 8:08 AM
Thread Re: [abacab] Search Engine Friendly Templates!
ccunet 10035 May 15, 2004, 7:17 PM
Thread Re: [ccunet] Search Engine Friendly Templates!
afinlr 10041 May 16, 2004, 7:40 AM
Thread Re: [afinlr] Search Engine Friendly Templates!
ccunet 9977 May 16, 2004, 8:35 AM
Thread Re: [ccunet] Search Engine Friendly Templates!
afinlr 10009 May 16, 2004, 9:13 AM
Post Re: [afinlr] Search Engine Friendly Templates!
ccunet 9956 May 16, 2004, 10:40 AM
Post Re: [afinlr] Search Engine Friendly Templates!
anup123 9946 May 16, 2004, 10:59 AM
Thread Re: [Alex] Search Engine Friendly Templates!
hoefti 9921 May 25, 2004, 5:35 PM
Post Re: [hoefti] Search Engine Friendly Templates!
ccunet 9834 May 26, 2004, 6:26 AM
Thread Re: [Alex] Search Engine Friendly Templates!
fmp 9969 Jul 4, 2004, 9:11 AM
Thread Re: [fmp] Search Engine Friendly Templates!
Jagerman 9854 Jul 4, 2004, 8:36 PM
Thread Re: [Jagerman] Search Engine Friendly Templates!
fmp 9819 Jul 5, 2004, 12:20 AM
Post Re: [fmp] Search Engine Friendly Templates!
fmp 9776 Jul 6, 2004, 12:03 AM
Thread Re: [Jagerman] Search Engine Friendly Templates!
fmp 9750 Jul 6, 2004, 3:09 PM
Thread Re: [fmp] Search Engine Friendly Templates!
fmp 5285 Jul 7, 2004, 2:57 PM
Thread Re: [fmp] Search Engine Friendly Templates!
fmp 5264 Jul 8, 2004, 2:57 PM
Thread Re: [fmp] Search Engine Friendly Templates!
fmp 5302 Jul 10, 2004, 1:57 AM
Post Post deleted by carminejg3
carminejg3 4400 Jan 15, 2006, 1:33 PM
Thread Re: [fmp] Search Engine Friendly Templates!
maxpico 4475 Mar 13, 2006, 7:52 AM
Post Re: [maxpico] Search Engine Friendly Templates!
MJB 4296 Apr 9, 2006, 3:42 PM
Thread Re: [fmp] Search Engine Friendly Templates!
discusswireless 4360 Apr 29, 2006, 12:51 PM
Post Re: [discusswireless] Search Engine Friendly Templates!
soaringesq 4197 Jun 10, 2006, 7:25 AM