Pricing Blog

Redirect on 404 to home page instead showing 404 page

  • roccles-1380528420555063326

    chrisr

    12 days ago

    Hi there,

    I created a /404 page but get redirected to the project's home page when throwing a 404 nevertheless.
    Side note: I am working with a paid plan and the Nordcraft default 404 page is not showing.

    What am I missing?

    Thanks a lot!
  • erikbeus-1380532325372395580

    Erik Beuschau

    12 days ago

    Do you have any redirect routes (beta feature) set up? Please share a url so we can investigate 🤞
  • roccles-1380563663190229022

    chrisr

    12 days ago

    Hi, I am using the API redirect rules on a single page (/ad-newsletter/{id}), if you're talking about that. However, removing the rule did not fix it globally.
    I also figured out that 404 redirect works for the "second level" of the url, e.g. "mysite.com/{first}/{second}" , but only then.

    I can share the public url here: https://ueberstunde.toddle.site/
  • erikbeus-1381902731890921623

    Erik Beuschau

    8 days ago

    It appears that the redirect to your home page is triggered by a /city API in the City_Page component. You can debug this by using the network tool and checking the X-toddle-redirect-* headers
    1381902731698241606-CleanShot_2025-06-10_at_09.46.33.png