Hi, I've been using the Root Relative URLs plugin on my new WP installation, and it's exactly what I've been looking for.
On the General Settings tab I have both the WordPress and Site Address URLs set to http://www.mydomain.com. When this plugin is disabled or uninstalled, and someone types http://mydomain.com into their browser (without www), the URL will automagically change to http://www.mydomain.com as the page loads. This is what I want to happen. Also for the sake of SEO which, I've read, works better this way.
But when the plugin is enabled, this automatic redirection doesn't work anymore. Therefore my site is available at both URLs, which is not good.
I had initially added the 'WP_HOME' and 'WP_SITEURL' definitions to my wp-config.php as instructed on the installation page. I then deleted them again, but doing so hasn't fixed the above issue.
Is there any way I can force WP to continue doing this www redirection even when the plugin is enabled? Perhaps something else I can add to wp-config.php?
Better yet, it would be great if the plugin could be modified to offer this as an option, so that the administrator can turn on or off this functionality according to his needs.