I'm a Software Engineer full-time and Fullstack Developer part-time. I build websites using React for people's small businesses or portfolios and optimize development by creating CI/CD pipelines.
Just to clarify, is your .htaccess file named ".htaccess" or just "htaccess", just to make sure the period is at the front?
If not, can you send a picture of your file structure?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for this article! Thou it works perfectly but I am not able to see any other pages like /services, /about, /contact.
What could be the reason? I did updated my htaccess
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule . /index.html [L]
but it did not fix the issue. The homepage shows up fine. All other pages give a 404 error
Hi @clockworkaiesh!
Just to clarify, is your .htaccess file named ".htaccess" or just "htaccess", just to make sure the period is at the front?
If not, can you send a picture of your file structure?