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

HI @charlene

Change the filename from weather shecodes 12 update (1).html to index.html.

Please help to resolve the issue. I am first time trying to deploying and the method opted is manually

Deploy log:
11:22:19 AM: Creating deploy upload records
11:22:44 AM: Starting post processing
11:22:44 AM: Post processing - HTML
11:22:45 AM: Post processing - header rules
11:22:45 AM: Post processing - redirect rules
11:22:45 AM: Post processing done
11:22:45 AM: Section completed: postprocessing
11:22:48 AM: Site is live :sparkles:

Page Not Found

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

Deploy summary

  • 182 new files uploaded
    1 generated page and 181 assets changed.

New pages include:

  • themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal/layouts/slides/list.html

  • No redirect rules processed
    This deploy did not include any redirect rules. Learn more about redirects.

  • No header rules processed
    This deploy did not include any header rules. Learn more about headers.

  • All linked resources are secure
    Congratulations! No insecure mixed content found in your files.

  • No edge functions deployed
    This deploy did not include any edge functions. Learn more about Edge Functions.

hi @dinesh9

Can you show a screenshot of your files structure? You need to have an index.html file on your root folder since that’s what we’ll be looking for.

Thanks

I am having the same problem if anyone is able to help me? I have an index.html file in the root folder and have even tried adding a netlify.toml file to get it working with the following contents

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

My project is just 3 files as I am just trying to test something. It is called pwa-test. I have downloaded the deploy and can see the 3 files there including the index.html file. It works fine locally. @gualter

Many thanks in advance :slight_smile:

Hi, @abk. Did you already do the troubleshooting steps here?

If so, did you see index.html in the root of the site when you downloaded the deploy?

Hi @luke thanks for getting back to me. Yes I downloaded the deploy. It is a folder called deploy-638e2982894624000933aefc with a folder inside called pwa-test which has 4 files inside, one of which being the index.html (see my screenshot attached).

Am I doing something wrong? Thanks in advance :slight_smile:

pwa image 2

Hi, @abk. This is the key:

It is a folder called deploy-638e2982894624000933aefc with a folder inside called pwa-test which has 4 files inside, one of which being the index.html (see my screenshot attached).

The index.html file is not in base of the deploy-638e2982894624000933aefc directory. It is inside another directory named pwa-test

So, instead of being available at this URL:

https://<your site subdomain here>.netlify.app/

It is available at this URL:

https://<your site subdomain here>.netlify.app/pwa-test/

There is a fix. If you got to to the site’s build settings (found at Site Name > Site settings > Build & deploy > Continuous Deployment > Build settings) and change the “Publish directory” from nothing to “pwa-test”, that should resolve this issue.

The URL for that setting is:

https://app.netlify.com/sites/<your site subdomain here>/settings/deploys#build-settings

If you replace <your site subdomain here> with the actual subdomain for the site, the URL above will take you to the site’s build settings.

​Please let us know if there are other questions about this.

I’ve successfully deployed my site, but still see “Page Not Found”
and also have a index.html file
https://my-weather-city.netlify.app/

Hi @Joy312n :wave:t6: welcome to the forums! :netliconfetti: Sorry to hear you are having issues with your site? On my end, I’m not seeing any errors with your deploy. Are you still experiencing issues with your site?

If so can you please check and debug your code?

No now everything is working fine

Thank you for checking

I have same issue even after I tried just simple html deployment
https://extraordinary-twilight-088827.netlify.app/
it redirect me to
https://x.esheeq.watch/video/series/muslsl-yali-capkini-3isk-e3evsh-6zi4/

hi there, before we dig in, did you see this brand new guide on debugging redirects?

I strongly suggest you give it a thorough read through and see if this fixes your problem:

if not, please post again, and we’ll try and troubleshoot.

I’ve this same issue,please how can I rectify it for Christ sake

Please share your site name, @Ebony4991.

I build my portfolio on react it works good on local host but on netlify only the main page works, when I try to redirect to “About” page it says link broken or doesn’t exist. what can I do? this is the URL to my website

https://navisasabeti.nl/

Hi @navisasabeti10,

Thanks for reaching out!

The issue you described, where only the main page works and navigating to the “About” page results in a broken link or a page that doesn’t exist, is likely related to how client-side routing is handled in your React application.

When you use client-side routing in a React application, the routing is typically handled by JavaScript on the client side. However, when a user navigates directly to a specific URL, the server needs to be configured to serve the same index.html file for all routes.

To set up a redirect for a single-page application (SPA) on Netlify, you can use a rewrite rule to serve the index.html file regardless of the URL the browser requests. You can configure this rule using either a _redirects file or a netlify.toml file.

In the _redirects file, add the following line:

/* /index.html 200

Alternatively, you can use the netlify.toml file to configure the redirect:

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

Let us know if you have any questions.

I have same issue. I can only see my Home page. I can’t see other pages.
Here is my url.

Your website appears to work @Chucks. Please describe the issue.

https://andrewss-portfolio.netlify.app/contact

this is the link to my website portfolio. i’m getting this error from my contactform