# Topicslug with numbers gets translated into topic id?

**URL:** <https://meta.discourse.org/t/topicslug-with-numbers-gets-translated-into-topic-id/112491>\
**Category:** Product Support\
**Created:** [March 25, 2019, 9:51am 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:** 2

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [March 25, 2019, 10:52am UTC](https://meta.discourse.org/t/topicslug-with-numbers-gets-translated-into-topic-id/112491/2 "2019-03-25T10:52:40Z")

</div>

> [@pontus.dualdecade](#):
>
> Is there a way to make sure if we get `http://discourse.server.com/t/123-mytopicslug-2.json` and that topic does not exist we get a 404?

Why would you even have this form to begin with? Where is the numeric ID of the topic? The URL is malformed the way you’ve written it.

Here’s what it _should_ look like:

`https://meta.discourse.org/t/slug/112491`

Where `slug` can be literally any text imaginable, because _it doesn’t matter_. Only the numeric ID of the topic does.

---

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