Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

on refresh react url not working or 404 page not showing react

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

//include this in .htaccess in root directory
Source by ui.dev #
 
PREVIOUS NEXT
Tagged: #refresh #react #url #working #page #showing #react
ADD COMMENT
Topic
Name
4+6 =