Friendly URLs for community objects

Vote:
 

Hi,

Does anyone have any experience of using friendly URLs with the community API e.g. replacing /forum/roompage/?roomid=20 with something like /forumname/roomname or for a topic /forum/roompage/topicpage/?topicid=5 with /forumname/roomname/topicname

I'm assuming this is possible just not sure the best way to implement so any suggestions gratefully received.

Thanks,

Mark

#144842
Feb 19, 2016 15:32
Vote:
 

You can use partial routing to allow you to use some property of the forum, say its title, e.g. forum/this-is-a-room/this-is-a-child

Your partial router can then use everything after the "forum/" bit to actually get the room.

Lots of thigns still to work out but I've seen it done this way.

#149556
Jun 03, 2016 9:31
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.