Home
Support Forums

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

Hi, I have been trying to deploy my site according to Netifly it is live but it cannot be accessed.

image

My code is on Github.
I definitely have an index.html file and the code works just fine locally.

if the code works fine locally, it sounds like this is an issue with your build settings on netlify - they might be pointing to the wrong directory or similar.

did you read through this already?

1 Like

I had, but i guess I did not look at it properly. I have now moved the index.html out of the html folder and it works just fine. thank you.

1 Like

glad it worked :muscle:

So, i have a static website which is cofigured by require.js library, I have a couple of pages, contact, projects, project’s individual pages and index page. since index page doesnt needs js, i set the base url as projects.js. It deploys properly, i see index.html even in the deployed folder but i still am unable to resolve the issue. what should i do?

Hey there @afsheen :wave:

Welcome to the Netlify Forums :netliconfetti:

Can you share the URL for your site, as well as your Netlify site name? This will help us look into this further.

Thanks for replying, it was a configuration error on my end. solved it!

1 Like

Hello, for a few days now I want to deploy applications from react. I don’t know what’s going on, please help. Other apps were no problem. I’ve successfully deployed my site, but still see “Page Not Found”. API ID : cd2fe6a0-7e1a-4770-8605-b4d05e7aee46
https://604c7680335b40a8add2c342--currencywallet.netlify.app/
thank you!

Hey there. @martynakiljan :wave:

Welcome to the Netlify Forums! Did you read the Support Guide and follow the steps listed? Let us know if that didn’t work.

@afsheen, thanks for sharing your solution with us!

1 Like

This my app. There are two pages totally, the register page and the login page. The register page is the home page ,which will be https://bg-authentication-app.netlify.app/ ,which contains a link to the login page which is https://bg-authentication-app.netlify.app/login.

The home page loads fine, and if i click the link to the login page,then also,the login page loads properly.

But,if i enter the login page URL (/login) in the address bar , it shows this error

Page Not Found

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

My site details: Netlify App

Hi, @balajiganesh. We have a support guide for this exact issue here:

https://answers.netlify.com/t/support-guide-direct-links-to-my-single-page-app-spa-dont-work

If there are other questions after reading that, please let us know.