# Redirection 404 not using error page template

**URL:** <https://forum.bricksbuilder.io/t/redirection-404-not-using-error-page-template/10789>\
**Category:** How To\
**Created:** [March 18, 2023, 9:40am UTC](https://forum.bricksbuilder.io/t/redirection-404-not-using-error-page-template/10789 "2023-03-18T09:40:45Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![fabr](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/f/bc79bd/32.png) [@fabr](https://forum.bricksbuilder.io/u/fabr)\
**Post date:** [June 6, 2024, 9:02pm UTC](https://forum.bricksbuilder.io/t/redirection-404-not-using-error-page-template/10789/20 "2024-06-06T21:02:54Z")

</div>

Any updates on this?

I’m facing the issue, one year later. Doesn’t seem to be fixed @timmse. **This is a massive bug that means we can’t send people to 404 using PHP** , which is quite a usual thing.

Works on every other theme I tested it with.

I used a more complex code snippet in the video, but it’s the same if I try to send a normal permalink to 404. I also didn’t use a child theme, as this is for demonstration only. It’s from wetransfer, so it won’t be up for long: [WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free](https://we.tl/t-WnaMdF4wGr).

You get the same error page if you set your site not to index (in the WordPress settings) and open /wp-sitemap.xml.

That’s a copy of my answer over here:

> [@How Do I Set a 404 Error in PHP and have the Bricks 404 Error Page show?](https://forum.bricksbuilder.io/t/how-do-i-set-a-404-error-in-php-and-have-the-bricks-404-error-page-show/12651/11):
>
> Same issue here, one year later. This is a massive bug that means we can’t send people to 404 using PHP, which is quite a usual thing. Any updates? Works on every other theme I tested it with. I used a more complex code snippet in the video, but it’s the same if I try to send a normal permalink to 404. I also didn’t use a child theme, as this is for demonstration only. It’s from wetransfer, so it won’t be online for long: [https://we.tl/t-WnaMdF4wGr](https://we.tl/t-WnaMdF4wGr). Can we flag this thread as “bug”?

---

_[View the full topic](https://forum.bricksbuilder.io/t/redirection-404-not-using-error-page-template/10789)._
