I've just set up my website with wordpress and on my domain it was just mydomain.com with no www. before it. I wanted to add a www. to my domain name so I went into the wordpress settings and added it and now when I enter my domain name into the browser address bar it says my domain has a redirect loop. I cleared my cookies and cache and it's still there.
Can anyone advise on how to stop this? I want the www. to be visible from the address bar.