- Code: Select all
static
- js
- - main.js
- css
dashboard.html
index.html
Now I am trying to write a .htaccess file with rewrite rules.
- Code: Select all
example.com/ -> /index.html
example.com/dashboard -> /dashboard.html
example.com/dashboard/info -> /dashboard.html
example.com/dashboard/... -> /dashboard.html
example.com/static/js/main.js -> /static/js/main.js
I don't want to use redirects, just rewriting the URL. What do I have to put in the file .htaccess. It would appreciate an answer very much.