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.
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.