The continuous plague of several pages being indexed using numerous variations of the same domain name has definately been experienced by most of us. In an attempt to remedy this extremely aggrivating issue; WWW-Redirect was born. Originating from the source of Matt’s no-www plug-in, www-redirect takes it a step or so further by allowing users to opt for different redirect settings. This plugin allows users to have more control over the uri in which their users access their blog. By doing so, you’re giving search engines and users a consistent link for accessing your content.
I’m distributing this plug-in without any warranty, however, it works for me. If you have any suggestions or conflicts please let me know. I’ll conjur up something to improve later — just wanted to make it a little more effecient. Naturally, using your http daemon to control this behavior is typically more efficient, personally, I prefer using PHP. If you would like direction on how to use .htaccess to control this action, please visit no-www.org
Installing WWW Redirect is extremely simple, just like most plugins for Wordpress.
www-redirect.php to your web server, place inside wp-content/plugins/
From time to time, suggestions will be made and I will make adjustments to the script based upon user’s requests. Those changes and modifications will be logged here, in the wonderful changelog.
www or non-www.index.php to /, or not.