seo

How To: Force On/Off "www." Subdomain with .htaccess

People add and remove "www." from URLs like they're optional, so you need to handle both cases. Whatever varition's chosen should send you to the same content as the other but this can lead to content duplication issues. With a few easy edits to your Apache-based site's .htaccess file, you can handle all user and crawler cases ideally.