www. url prefix kills auto redirect plugin

Permalink
Hey guys!
I don't know why, but for some reason, one of our sites goes wrong, when accessed with www. prefix in url. I have to add, that everything worked fine on our developement servers (not localhost!). I am sure, that there must be some kinds of configuration issues, but the host keeps telling that everything is fine and that we (the developers) made some mistake in creating the site. Does anyone have an idea about what could be wrong? Thanks!

 
hostco replied on at Permalink Reply
hostco
Add this line of code to

/config/site.php

define('BASE_URL', 'http://yourdomain.com');


Swap out "yourdomain" with your domain name and be sure to not include www.