I need to redirect https://sampledomain.com.au
OR https://www.sampledomain.com.au
to http://www.sampledomain.com
So far this is my .htaccess condition but it's not working:
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^sampledomain\.com\.au$ [OR]
RewriteCond %{HTTP_HOST} ^www\.sampledomain\.com\.au$
RewriteRule (.*) http://sampledomain.com/$1 [R=301,L]
What seems to be the problem/error? Thanks a lot :)