I deployed my react app successful on netlify. When it loads, everything loads perfectly but every time I refresh the site, I got page not found
Here is the site : https://abishoppy.netlify.app/
I deployed my react app successful on netlify. When it loads, everything loads perfectly but every time I refresh the site, I got page not found
Here is the site : https://abishoppy.netlify.app/
@Abideen See this response I gave someone else, which applies to you:
If you want to know âwhy it worksâ, I provided this additional explanation here:
Thanks this works perfectly
Hi @Abideen welcome to the forums iâm glad nathanâs solution helped resolve your problem!
Hello, what can i do to solve this? Can you give a simple instruction please? Like creating a file in the public folder?
Hello, what are the necessary steps to solve this, please? Thanks in advance
@anxheloo You should create your own thread and provide the details of what youâre working with.
Thereâs no âone size fits allâ fix.
If youâre working with a react app though, and your issue is exactly the same as the original post, (which is that it all works fine until you hit ârefreshâ), then you can just visit the two threads that I linked to in the post above. Those posts explain both why it occurs and how to fix.