Home
Support Forums

Page Not Found After deployment

Hi, @johnnymac. It looks like your most recent production build resolved the issue.

If there are other questions or concerns, please let us know.

@luke My apologies. I meant after login I get 404. The homepage loads just fine but when routing to a different path, I get 404. I updated the post with that info. Basically, logging in directs to path /login/?resource=clientUser and returns a 404 when deployed.

hi there, can you check and see if this fixes your problem?

@perry My _redirects file is already in there. It looks like:

/*  /index.html 200
/login/?resource=clientUser /index.html 200

My deployment shows:

2 redirect rules processed

All redirect rules deployed without errors.

Happy to adjust if you have any suggestions but I added the second rule as the first did not work

Quite odd! Confirmed that redirect is in place. Tis hard to debug what we can’t see - could you DM me a test login we can use, or better would be confirming that it is ok for our team to use the signup link to create one to reproduce the situation?

hello

could you help me and tell me which directory to publish

thank you

Hi there,

Did you see this guide yet? This is the best place to start for “Page Not Found” issues.

If you are still seeing issues after following the troubleshooting steps in this guide, please let us know!

Hi perry can you help me? because I’ve already deployed the site and I am getting the landing page and proceed to other pages but when I reload the other pages this came up " Page Not Found

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

so I don’t know what to do, thank you

Hi there, @topetope024 :wave:

Welcome to the Netlify Forums :netliconfetti: Did you read the above guide that Perry shared and follow the steps?

If you have already done so and it is still not working, please respond with your Netlify site name as well as your github repo for the site.

Thank you!

1 Like

yup, I’ve already solved it, thank you very much to your response

1 Like

Excellent, glad it is up and running! :netliconfetti:

Hi
I deployed my site and there is an index.hmtl file but it still says page not found, can you help me ?
my sitepage name is https://eager-varahamihira-f78f12.netlify.app/
Thanks

hi there marie, have you checked your build commands and settings? are you pointing to the correct folder that contains the index.html when you deploy? that would be our next suggestion. if you like, you can post a screenshot of your build settings and we can advise.

hi, how do i find the build commands and settings so i can post a sceenshot

Hi, @Marie. This was a manual deploy so there is no build command. If you had one, it would be found here (under Site Name > Settings > Build & deploy > Continuous Deployment):

https://app.netlify.com/sites/eager-varahamihira-f78f12/settings/deploys

Did you try downloading your deploy? You can do so using this button:

download-deploy-button-small

If you do so, you will see there is no index.html file. There is a file name start.html so this URL does work return a 200 response:

https://eager-varahamihira-f78f12.netlify.app/start

If there are other questions or concerns, please let us know.

how to identify directory in angular

Hi @yuvarajrum,

You need to build locally and check where the site is emitting the built files.

Hi Team,

I deployed my angular project twice. I downloaded the build folder and it does contain index.html page but still, I see the error “Page not found”.

Base Directory: Not set
Publish Directory: dist/

Site url : https://sailingschedule.netlify.app/

Could someone help me to understand what the issue is?

Hi @KavitaChauhan,

This is your file structure:

/sailingschedule/favicon.ico
/sailingschedule/index.html
/sailingschedule/runtime.717ac4173121646c9cf3.js
/sailingschedule/3rdpartylicenses.txt
/sailingschedule/polyfills.70a9fd4fbc6cb10a1fb2.js
/sailingschedule/313.68ba92d89c7c08ace629.js
/sailingschedule/styles.dbeacab1dc8d41d4172f.css
/sailingschedule/main.128bb53d5a9c7deef4be.js

As you can see, all files reside within the /sailingschedule/ folder. You need to probably change the publish path to dist/sailingschedule

For future reference, you could check your deploys at: https://netlify-file-browser.netlify.app/.