How to change directory

Hello,

My site uses Japanese by default.

I wanted to change the permalink of the URL, I asked a question this time.

It is now like …/t/topic/16(article number), and is it possible to make it like …/16?

Or is it possible to make …/t/16?

Currently it is not possible remove the slug entirely.

3 Likes

So, I can not change the topic page URL to …/t/(topic_id) and …/(topic_id), right?

Is it impossible to make the topic URL of my site be …/t/(title_name), like the topic URL …/t/(title_name) of meta.discourse.org?

Yes.

…/t/(title_name)/(topic_id) is possible by changing the slug generation method site setting to “encoded”. Then the Japanese characters will be included in the topic slugs.

4 Likes

Thank you @vinothkannans

There are two questions about the directory when selecting ascii in the slug generation method.

One thing is about not displaying any content on .../t/. Is it possible to display a list of topics here?

The second is about displaying randomly selected topic page when opening .../t/topic/. Is it possible to display a list of topics here?

(Also, I do not know why ../t/topic/ is generated again in the hierarchy below .../t/.