# Erreur 404 lors du rendu sur une route personnalisée sans redirection

**URL:** <https://meta.discourse.org/t/404-rendering-at-custom-route-without-redirection/89349>\
**Category:** Development\
**Created:** [Juin 7, 2018, 9:20 UTC](https://meta.discourse.org/t/404-rendering-at-custom-route-without-redirection/89349 "2018-06-07T09:20:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![arjen](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@arjen](https://meta.discourse.org/u/arjen)\
**Post date:** [Juin 14, 2018, 7:33 UTC](https://meta.discourse.org/t/404-rendering-at-custom-route-without-redirection/89349/4 "2018-06-14T07:33:50Z")

</div>

Hey @joebuhlig,

I actually created PRs for the procourse-static-pages plugin recently. Glad you removed the Licensing, since I think more people can benefit from this plugin.

When I make a post, linking to a non-existing procourse-static-page, I see the same behaviour as I described. So when you click the link in the post, Discourse opens that URL and receives a 404 from the controller (as intended). However, the frontend then redirects you to /404. Meaning that if you go back, you again hit the non-existing route which again redirects you to the /404.

We’re still dealing with this problem, and I think your plugin can also benefit from a solution.

Arjen

---

_[View the full topic](https://meta.discourse.org/t/404-rendering-at-custom-route-without-redirection/89349)._
