Is it OK to use www.domainname.com? I did the rewrite and this did work when typing it in the browser address bar like so http://domainname.com/filename.php redirected to https://www.domainname.com/filename.php but when I did a test purchase it redirected as before. After changing the the redirect to www.domainname.com it worked.