Changing discourse route


(Steve Ng) #1

Hi,

By default /latest goes to the latest discussion forum.

Is there any chance that I could set /discussions and it goes to /latest route too?

Regards,
Steve


(Sam Saffron) #2

Well you can easily add a permalink using admin -> customize -> permalinks


(Steve Ng) #3

Hi Sam, is there anyway to do it via plugin? or through code?


(Sam Saffron) #4

Yeah, you just insert rows into the table…


(Steve Ng) #5

I tried using permalinks.

when the user visits /discussions, the url on the browser changed to /latest.

Is there any chance that we can do something so that the url doesn’t change?


(Sam Saffron) #6

That it a very complex change that would need to be done via a plugin.

And by complex, I mean a nightmare.