Do you have access to your .htaccess? If so, you should just be able to add the following to that file.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^example.com$
RewriteRule (.*) http://
Do you have access to your .htaccess? If so, you should just be able to add the following to that file.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^example.com$
RewriteRule (.*) http://
my concern is that the links will go to http://www.domain.com/link but the code will remain <a href="http://domain.com/link>link</a>
is there a setting in the database that needs to be changed or in a different config file?