Thanks, I have just solved the error.
But the code doesn't work for now. How can I do execute a function when user go to topic?
Thanks
Hi. Sorry for my English.
I need this link structure: http://sitename.com/topic/topic_id
Where do I need to make edits?
Thank you.
The slug is not necessary though it is helpful for SEO. You can link to any topic without the slug and it will still work, so long as the tid is intact.
@julian said in Topics slug, id only:
The slug is not necessary though it is helpful for SEO. You can link to any topic without the slug and it will still work, so long as the tid is intact.
For me, SEO does not matter.
Some of the links will be in Cyrillic, a part in the Latin.
To bring the structure to a general view - I want to use only id.
Thx.
PS: Many forum engines allow you to choose the link structure.
Perhaps it makes sense to add this setting?
@julian That's what a website looks like with a Cyrillic link.
Due to how the backend is structured, it is not possible to customise the url format (at least, not the /topic
part). Removal of the slug is potentially doable, however.