I was wondering on how would I make my non-www domain would be direct to www domain. I've tried to configure my .htacces to redirect my non-www to www but since non-www was defualt it was infinitely looping to each other. How am I going to resolve this? Thanks
#Force www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301,NC]
I wanted to make my domain SEO friendly, what should I do? should I add WWW as a CNAME or as a A My wordpress files were in public_html, do I have to make a new subfolder to do this kind of canonical?