# Netlfiy displaying page not found error when my bolt website is deployed

**URL:** <https://answers.netlify.com/t/netlfiy-displaying-page-not-found-error-when-my-bolt-website-is-deployed/149329>\
**Category:** Support\
**Tags:** deployment\
**Created:** [May 27, 2025, 11:42pm UTC](https://answers.netlify.com/t/netlfiy-displaying-page-not-found-error-when-my-bolt-website-is-deployed/149329 "2025-05-27T23:42:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zubair](https://avatars.discourse-cdn.com/v4/letter/z/848f3c/32.png) [@Zubair](https://answers.netlify.com/u/Zubair)\
**Post date:** [May 27, 2025, 11:42pm UTC](https://answers.netlify.com/t/netlfiy-displaying-page-not-found-error-when-my-bolt-website-is-deployed/149329/1 "2025-05-27T23:42:55Z")

</div>

![Screenshot 2025-05-28 at 00.33.23](https://global.discourse-cdn.com/netlify/original/3X/8/2/82ebc5faa6502a861d3ccf639354b1b8ba23c693.png)

I have finished my bolt website but ran into an issue.

As shown in the images, when the website is deployed and I click on read more reviews or view alll services it opens the page not found error. I have discussed this with bolt, and it added netlify.toml as shown in the attached image, but im still getting the error when clicking these options.

my website is [twinnzbarbers.com](http://twinnzbarbers.com)

the netlify subdomain link is [https://statuesque-tiramisu-686724.netlify.app/](https://statuesque-tiramisu-686724.netlify.app/)

---

<div class="post-metadata">

**Author:** ![nathanmartin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/nathanmartin/32/30845_2.png) [@nathanmartin](https://answers.netlify.com/u/nathanmartin)\
**Post date:** [May 27, 2025, 11:59pm UTC](https://answers.netlify.com/t/netlfiy-displaying-page-not-found-error-when-my-bolt-website-is-deployed/149329/2 "2025-05-27T23:59:26Z")

</div>

@Zubair The issue you’re experiencing is mentioned in Netlify’s documentation, along with the solution.

See:  
[https://docs.netlify.com/configure-builds/javascript-spas/](https://docs.netlify.com/configure-builds/javascript-spas/)

> #### Avoid 404s for SPAs
> 
> If your project is a single page app (SPA) that uses the history `pushState` method to get clean URLs, you must add a [rewrite rule](https://docs.netlify.com/routing/redirects/rewrites-proxies/#history-pushstate-and-single-page-apps) to serve the `index.html` file no matter what URL the browser requests.

The `netlify.toml` that Bolt has created _appears_ correct, so you’ve just got to make sure that you:

1. Actually deployed the new version of the app
2. Are looking at the right version of the site

If you check your Deploy log on Netlify:  
[https://docs.netlify.com/monitor-sites/logs/#deploy-log](https://docs.netlify.com/monitor-sites/logs/#deploy-log)

It will show if it detected the redirect/rewrite rules.  
This will help you determine if you’ve not deployed it, or are looking at a wrong version etc.
