Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry

Website is thowing error on refresh React js ?

Website is thowing error on refresh React js ?

Okay so don't know if this will help anyone but this solved it:

  • log into cpanel

  • create a file under public html under file manager

  • name it .htaccess

  • paste this:

    RewriteEngine On RewriteBase / RewriteRule ^index.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L]

voila! (hopefully)


10 0

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online