Enforce www. Preference enforces your yes-www or no-www preference as defined by your Blog URL setting in 'Options - General.'
If you have http://example.com/, people who visit any WordPress-served URL staring with http://www.example.com/ will be redirected to the no-www version.
If you have http://www.example.com/, people who visit any WordPress-served URL staring with http://example.com/ will be redirected to the yes-www version.
The plugin will also strip off any hanging redundant /index.php




