I have a client whose URL automatically appears with a "www" and she would like it removed. There is no .htaccess file, so I added one with the usual method for removing the www:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
When I do this, reloading the page results in an error and the page will not load. I have a feeling the above fix is disagreeing with something in WordPress, but I do not know what. Any help is greatly appreciated.