Hey, im new to deployment. trying to deploy my react website but it says :
Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.
Github: GitHub - kennymanman/school
Netlify: https://competent-borg-444b06.netlify.app
Hey, im new to deployment. trying to deploy my react website but it says :
Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.
Github: GitHub - kennymanman/school
Netlify: https://competent-borg-444b06.netlify.app
Scott
August 3, 2020, 1:08pm
57
Looks like it’s working for me! I’m guessing you updated your publish directory to public
?
Because you’re using React, you’ll need a SPA redirect rule which is discussed in the redirects guide (search for Single-Page Apps).
Yeah i visited the post, But i’m new to netlify and coding not sure what to do with ```
/index.html 200
Could you simplify it to me, like where to go and do. Thank you.
perry
August 3, 2020, 5:34pm
59
hey @kennymanman , you’ll need to create a file called _redirects
and add that line of code to it. Place that in the root directory of your project, and redeploy. that should fix things.
perry
August 3, 2020, 7:11pm
61
yep, seems correct on first glance. is the issue still happening?
its still showing the error
perry
August 3, 2020, 8:38pm
63
i think you may be seeing a version of your site that is cached somewhere, as I can load it:
Can you try again from an incognito window?
have you tried clicking the pages like home, contact us
its showing the navbar but the pages are showing not found
Scott
August 4, 2020, 12:18pm
66
@kennymanman ,
Your _redirects is in the wrong directory. I can see from your deploy log :
No redirect rules processed
Add this file to your public
directory
Thank you i really appreciate the help. it worked.
1 Like
jc0bl
March 5, 2021, 2:39am
68
Hey, I am new to Netlify. I deployed my test site successfully but when I clicked the Upload button on index.html, got a popup saying:
Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.
Netlify: https://mytestsite-jc.netlify.app/
Please help. Thanks.
luke
March 5, 2021, 7:46am
69
Hi, @jc0bl , your site code is calling a file named savetofile.aspx
which is an Active Server Page file.
There is no IIS running at Netlify so this will never work. The following support guide explains why in more detail:
Last reviewed by Netlify Support on December 2022
How do I run a server/database at Netlify?
We often get questions about how to run a specific backend server or database at Netlify. Examples of these types of questions include:
How to I get my node HTTP listener to respond to requests?
How do I start Mongo/MySQL/<insert-some-database-here> running on the server?
How can I SSH into my website?
We are here today to answer these questions - and the answer is: you can’t!
What do you m…
If there are other questions after reading that support guide, please let us know.
Hello ,
I tried different things but no way to get the website working . always the same erros page not found …
my settings:
Repository
github.com/RaphaelPereira88/My-personal-Blog
Base directory
Not set
Build command
Not set
Publish directory
blogWebsite
Deploy log visibility
Logs are public
Builds
Active
My project is pretty simple , it’s a blog/website html css and a bit of javascript to create the sections and the second navigation bar.
I shared my files from my git hub ( see screenshots below) and they are all in the folder called
" blogWebsite. "
Could you please tell me how to get this working ?
many thanks
Screenshot from 2021-03-19 12-30-12|690x253 git hub
luke
March 22, 2021, 4:17am
71
Hi, @RaphaelPereira88 . You don’t have an index.html
. You have a main.html
file instead.
This would make the site available under that path. So instead of this:
https://example.netlify.app/
The base page would be this:
https://example.netlify.app/main
(Replace example
with your site’s actual subdomain.)
If you rename main.html
to index.html
that path above (/main
) won’t be required anymore.
Hi there,
I have deployed a website that contains CMS-React. All of the pages are working fine except for the one that has React in it (blog). I don’t seem to find a way to fix this. Can you please help me understand the error?
This is the URL: https://lucid-wescoff-7d499a.netlify.app/
Thank you!!
Hey @jackymadenfrost ,
You need to addd redirects as this person did here:
I can reach my website with url, but it shows the error when I refresh the page, or leave the page idle for a while. I use “CI= react-scripts build” and by default the folder is /build. And I do have [[redirects]] in netlify.toml.
[Screen Shot 2020-09-05 at 4.52.59 PM]