Update:
I found the half solution here: https://stackoverflow.com/questions/4814231/301-redirect-not-working-in-wordpress
I placed this code to .htaccess file below w3 total cache rewrite rules:
“<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
### non www to www
RewriteCond %{HTTP_HOST} ^domain.com.au [NC]
RewriteRule ^(.*)$ https://www.domain.com.au/$1 [R=301,L]
### re-direct index.html to root
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
RewriteRule ^index\.html$ https://www.domain.com.au/ [R=301,L]
redirect 301 /team.html https://www.domain.com.au/our-team/
redirect 301 /contact.html https://www.domain.com.au/contact-us/
# WrodPress rules begin here…
</IfModule>”
All 301 redirects seems working now and without any errors showing under W3 Total Cache settings, except one: the index.html still not redirecting to .com – all what I see is my hosts 404 error page :/
and if I remove these lines from the code above:
“### re-direct index.html to root
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
RewriteRule ^index\.html$ https://www.domain.com.au/ [R=301,L]”
W3 total cache throwing error:
“It appears Page Cache URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration.”
Anybody?