:: Forum >> Version 2 >>

Alex, What forum script are you using?

I really like the search engine friendly urls this forum creates. What script are you using?
Rob Francis
Friday, March 3, 2006
Rob,

this is just home-made PHP/MySQL script. I was looking for the forum script which could be at the same time page comment script (with no distinction between them and hierarchical page structure) but did not find anything :-(
Alex (ActiveWidgets)
Friday, March 3, 2006
May I ask how you process the url?

For example, you appear to key off the value of "javascript.forum.1234" where 1234 is the post number. I doubt that url really exsits on your system.

The way I would do it is have a 404 error handler script to process this "missing" url and then pull the correct post from the DB. Is that the basic technique or do you have a better way?

Thanks!
Rob Francis
Friday, March 3, 2006
I am using mod_rewrite with the following rule -

RewriteRule ^javascript\.forum\.([0-9]+)\.([0-9]+).* site/?app=forum&cmd=view&id=$1

I've found mod_rewrite extremely useful. It allows keeping 'public interface' completely independent from the actual implementation.
Alex (ActiveWidgets)
Friday, March 3, 2006
Thanks! I will learn about that. I'm sure it is better than misusing a 404 error handler.

I'm not doing a forum but my project is similar. The html pages are pulled from the db using a php program (ex. displaypage.php?page=10 ). This isn't friendly for the user or search engines.

I'm impressed with how well your site comes up in the search engines and I think the url naming convention you are using is a big help.
Rob Francis
Friday, March 3, 2006



This topic is archived.

Back to support forum

Forum search