page not found on refresh after uploading to webhosting

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



page not found on refresh after uploading to webhosting



I uploaded production build of my react app to my web hosting but when refreshing it, page not found occurs, how to set it up or what to do with it ?





Hard to say with the limited information currently in your question, but are you using React Router? You must make sure all routes are serving your index.html file so React Router can take care of the routing in the browser.
– Tholle
Aug 10 at 20:48


index.html





Yes I am using react router so how make it to serve into my intel.html ?
– Sebastián Danáč
Aug 11 at 8:01









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS