FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Human-friendly/readable URLs (It's 2011)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Human-friendly/readable URLs [message #165950 is a reply to message #165460] Thu, 01 September 2011 19:09 Go to previous message
Anik is currently offline  Anik
Messages: 36
Registered: August 2011
Location: India
Karma:
Member
Ernesto wrote on Mon, 20 June 2011 08:48
I have solved this issue by using the PATH_INFO style URLs and then just appending the thread title to the URL, just like Slashdot has sovled it (To decrease database lookups, contrary to how reddit has solved it)

So a URL to a thread on my forum looks like this:
http://www.ginnunga.org/forums/t/25347/installed-windows-7-on-an-ssd-/

You can of course go directly to the page like this:
http://www.ginnunga.org/forums/t/25347/

since the final part of the URL doesn't matter, but google etc does not know that, so it works just fine.


How to solve it coding wise is to adjust a few of the rewrites in users.inc.t to understand that the final part of the URL are useless and then just have a function grab the thread/msg title, replace harmful stuff, and then append it to the link with the returned result.


Hi there,..will you tell us the procedure,,
Regards,..
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Enhanced smilies management
Next Topic: Auto Keywords
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 04:14:06 GMT 2024

Total time taken to generate the page: 0.04282 seconds