Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

December 24, 2009

7 Comments

htaccess-tricks-tips

How to redirect www to non-www and non-www to www URL using .htaccess redirect(mod_rewrite)

Websites can be access with www and without www also. Since Search engines consider http://www.programmingfacts.com and http://programmingfacts.com different websites. It might be a case of duplicate content. So you must stick your domain name accessible either with www or without www.