# ¿Topicslug con números se traduce a ID de tema?

**URL:** <https://meta.discourse.org/t/topicslug-with-numbers-gets-translated-into-topic-id/112491>\
**Category:** Product Support\
**Created:** [25 Marzo, 2019 09:51 UTC](https://meta.discourse.org/t/topicslug-with-numbers-gets-translated-into-topic-id/112491 "2019-03-25T09:51:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pontus.dualdecade](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@pontus.dualdecade](https://meta.discourse.org/u/pontus.dualdecade)\
**Post date:** [25 Marzo, 2019 12:53 UTC](https://meta.discourse.org/t/topicslug-with-numbers-gets-translated-into-topic-id/112491/4 "2019-03-25T12:53:48Z")

</div>

We do this lazily, so the client predicts the topic slug. We have no way of predicting the internal discourse topic id.

So we have to get the topic solely based on the slug.

If we change the slug to be region-1-123 instead and that works I guess thats a solution. To clarify, the numbers 1 and 123 here has nothing to do with discourse and are generated elsewhere.

Or, if there is a way to get topic id by topic slug only that would be great in our case.

---

_[View the full topic](https://meta.discourse.org/t/topicslug-with-numbers-gets-translated-into-topic-id/112491)._
