Not logged in. · Lost password · Register
Forum: Support Ideas and suggestions RSS
Append thread title to URL?
Easy or hard?
Avatar
NFG #1
Member since Sep 2006 · 120 posts
Group memberships: Members
Show profile · Link to this post
Subject: Append thread title to URL?
A lot of blog/forum/CMS systems append the current thread title to the URL, and I wonder how hard it'd be to add this to UNB?  I would imagine it'd be a throwaway parameter at the end of the URL, like so:

http://somesite.com/forum/thread/604/This-is-the-thread-title

or

http://somesite.com/forum.php?viewthread=604&title=This-is-the-thread-title

This would make links to the site much more user-friendly, wouldn't it?

Is it a fix-every-damned-thing kind of mod, or can it be done simply, perhaps with js?  Honestly I have no idea, but it'd be awesome if it was easy.  </useless>
Avatar
Yves (Administrator) #2
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Links like that aren't "user-friendly" anyway.

But just put "named_urls = 1" (or update a similar line) in your board.conf.php file and see if it works for you.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Avatar
NFG #3
Member since Sep 2006 · 120 posts
Group memberships: Members
Show profile · Link to this post
Subject: It worked!
Holy crap!  Yves, that's awesome.  =D

I'm not sure what you mean when  you say these URLs aren't user friendly.  As an example, I hate YouTube for many reasons, but one big one is that the links don't mean anything.  Someone drops a YouTube link on IRC and I have no idea what will be there if I click on it.  Something interesting?  Something stupid?  These named URLs are, IMO, much more friendly to users and - I think - better for search engines as well. 

Thanks for that tip.  It's totally great.  =D
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20110527-dev, © 2003-2011 by Yves Goergen
Page created in 217.8 ms (94.3 ms) · 48 database queries in 184.2 ms
Current time: 2012-02-07, 19:55:56 (UTC +01:00)