I have search through Google and found 2 methods to add www
before domain name. First is by adding a CNAME and second is using rewrite mod in .htaccess file.
I just want to know which method is better to use or there is other method because I'm currently using standalone WordPress as my back end.
domain.com
towww.domain.com
. Anyway, the .htaccess method is usually fine