I have domain domain1.tld
and wont to redirect only index to a different page
In example if someone try to open http://www.domain1.tld/index.html
to open the index page
but
http://www.domain1.tld/ to send him on http://www.domain1.tld/page01.html
I was thinking for something like that
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?domain1\.tld$ [NC]
RewriteCond %{REQUEST_URI} ^$ [NC]
RewriteRule ^(.*)$ page01.html [R]
But that did not not work.