When I set my WordPress site's address (URL) setting to = http://www.example.com, then the site will redirect all users to access the site WITH the 'www.' prefix:
(e.g. http://example.com/... will be redirected to http://www.example.com/...)
When I check the .htaccess file, there's no rule for handling a missing 'www'. How is WordPress doing this?
WordPress .htacess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress