Site cannot be accessed broken link or url that doesn't exist

Hello! thank you so much for your help.

I did so, _redirects file in the public folder. I worte /* /index.html 200 inside. But it gives me this error.

Very confusing. I am not using Python. And I did not have this issue with the other project which is built with the same tools and processes. Any other ideas? as I said. everything works absolutely fine except one path: my-profile router. I use React

Thanks again !!

Ignacio

Thatā€™s interesting. I am not sure why it would try to look for Python.

Would it be possible to share your repo?

Yeah, Itā€™s confusing :smile:.

For sure. Hereā€™s the repo:

You can check it out locally and create a mock user.

Bests,
Ignacio.

Iā€™m not sure whatā€™s causing Python errors in your build - I forked and tried your repo, it deployed fine. You could try:

  1. Clearing cache and deploying
  2. Relinking your repo
  3. Creating a new site

Hopefully one of that would work

About the actual error, I donā€™t know Parcel personally and looks like it doesnā€™t copy all files from the Public folder to the deploy folder. So, I removed the _redirects file and added the following netlify.toml file in the root of the repo:

[[redirects]]
  from = "/*"
  to = "/index.html"
  status = 200

Maybe give this a shot? The problem seems to have disappeared for me, it will probably disappear for you too.

Hi all,
is this now solved? I have a similar problem. The register and profile pages are not working i.e ā€œpage not foundā€. Both pages work fine locally.

https://infallible-aryabhata-00282f.netlify.app/

Would be great to have your feedback. Thank you!

Hi again,
its now solved. i added netlify.toml file with below codes in the root:

[[redirects]]
from = ā€œ/*ā€
to = ā€œ/index.htmlā€
status = 200

I have the similar issue and it looks like the successfully deployed project only works when the index.html file is in the root directory of the project. Is anyway you can configure the index.html path?

Hey @fenglianxu

The index.html file needs to exist at the root of the deployed directory.

What type of project are you deploying?

Hey @coelmay my project is really simple atm, but it will be more complicated. You would not assume that index.html file always in the root of the project. My project structure is A -->Bā€“>srcā€“>index.html there is no build in Bā€“>package.json file. I have seen that directs can solve this issue, but not sure where the configuration file should be located.

Have you looked through the redirects documentation? You can use either a netlify.toml in the project base or _redirects file in the publish directory.

You donā€™t need to always have the index.html at the root of the project, but the root of the deployed directory.

If you are able to share the repository, I could potentially provide more specific advice.

1 Like

Hey everyone, im trying to deploy a full stack web application and i get the page not found error. I just wanted to know if it is possible to deploy a node js application here on netlify, i dont have index.html file cuz im using pub template engine. Please if someone has any information about this reply to me. <3

Hey there, @etnikz2002 :wave:

Can you please share more about what you are encountering? For example, what exact template are you using? Please provide a link to the resource. Additionally, what is your Netlify site URL? Please provide a link to this as well.

IMO it can be solved through startup errors some time it happens due to minor glitch or by any broken link

how do u do that pls

Hi there, glad you found us :wave: before we can help you, we need a little more information on the issues you are facing.

First, have you looked through this resource? It is a compilation of all of our build and deploy resources. This is a good starting point.

If you have worked through those guides and are still encountering issues please share the following information:

  • the name of your build instance: ā€œexample-jones.netlify.comā€
  • your most recent deploy log
  • what you have already tried
  • any error messages you have received in your terminal window or in the developer console

Page Not Found

Looks like youā€™ve followed a broken link or entered a URL that doesnā€™t exist on this site.

Back to our site


If this is your site, and you werenā€™t expecting a 404 for this path, please visit Netlifyā€™s ā€œpage not foundā€ support guide for troubleshooting tips.

Hi there,

Iā€™ve read the previous thread. Iā€™ve read the resource.
I have renamed everything and made sure itā€™s in lowercase.
Iā€™ve added a redirect.
Iā€™m pretty sure my index.html is there. Itā€™s the same setup as a previous project.

Deploy log

Preview

11:01:28 PM: Build ready to start

11:02:17 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)

11:02:17 PM: build-image tag: v4.10.1

11:02:17 PM: buildbot version: 37262c48b1f3cfa88c6caed707d29b19aef6a5a7

11:02:17 PM: Fetching cached dependencies

11:02:17 PM: Starting to download cache of 2.9MB

11:02:17 PM: Finished downloading cache in 34.879635ms

11:02:17 PM: Starting to extract cache

11:02:17 PM: Finished extracting cache in 27.509739ms

11:02:17 PM: Finished fetching cache in 93.10568ms

11:02:17 PM: Starting to prepare the repo for build

11:02:17 PM: Preparing Git Reference refs/heads/main

11:02:17 PM: Parsing package.json dependencies

11:02:18 PM: No build steps found, continuing to publishing

11:02:18 PM: Starting to deploy site from ā€˜/ā€™

11:02:18 PM: Creating deploy tree

11:02:18 PM: Creating deploy upload records

11:02:18 PM: 1 new files to upload

11:02:18 PM: 0 new functions to upload

11:02:19 PM: Starting post processing

11:02:19 PM: Uploading Cache of size 2.9MB

11:02:19 PM: Post processing - HTML

11:02:19 PM: Post processing - header rules

11:02:19 PM: Post processing - redirect rules

11:02:19 PM: Post processing done

11:02:20 PM: Finished processing build request in 3.025502229s

11:02:22 PM: Site is live :sparkles:

Hello there,

Still not working
Iā€™ve tried everything. the index.html is there
Iā€™ve tried to redirect

still the same message page not found
https://courageous-naiad-d96cc2.netlify.app

11:14:16 PM: Build ready to start
11:14:30 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)
11:14:30 PM: build-image tag: v4.10.1
11:14:30 PM: buildbot version: 37262c48b1f3cfa88c6caed707d29b19aef6a5a7
11:14:30 PM: Fetching cached dependencies
11:14:30 PM: Starting to download cache of 2.9MB
11:14:31 PM: Finished downloading cache in 199.330798ms
11:14:31 PM: Starting to extract cache
11:14:31 PM: Finished extracting cache in 27.374023ms
11:14:31 PM: Finished fetching cache in 291.123517ms
11:14:31 PM: Starting to prepare the repo for build
11:14:31 PM: Preparing Git Reference refs/heads/main
11:14:31 PM: Parsing package.json dependencies
11:14:32 PM: No build steps found, continuing to publishing
11:14:32 PM: Starting to deploy site from ā€˜/ā€™
11:14:32 PM: Creating deploy tree
11:14:32 PM: Creating deploy upload records
11:14:32 PM: 1 new files to upload
11:14:32 PM: 0 new functions to upload
11:14:32 PM: Starting post processing
11:14:32 PM: Uploading Cache of size 2.9MB
11:14:32 PM: Post processing - HTML
11:14:32 PM: Post processing - header rules
11:14:33 PM: Post processing - redirect rules
11:14:33 PM: Post processing done
11:14:33 PM: Finished processing build request in 3.134827834s
11:14:36 PM: Site is live :sparkles:

Hi @Jazz

Your site loads fine for me. And I can even search!

1 Like

Echoing @coelmay, I can also see your site. Please let us know if you are still encountering obstacles.

Hello,
Iā€™m not sure on how to fix my broken link. Itā€™s called startling-cupcake-049c79. I tried the support guide link but Iā€™m super new to all this so Iā€™m completely lost. Can you all help?