Recently I found out that meta tag rel="canonical"
is missing from my page source.
So I went to SEF plugin. It was published.
But the field 'Site Domain' was empty.
I entered http://my-site.com
in the field and rel=canonical
appeared in the source.
My question is: http://my-site.com
or http://www.my-site.com
here.
Domain is: my-site.com
Use URL Rewriting is ON and I have the following redirect in .htaccess
:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www\.my-site\.com)?$
RewriteRule (.*) http://www.my-site.com/$1 [R=301,L]
So, www or non-www version is better for this field?
Or not to use this field at all? Site is well indexed by Google even without rel=canonical
.
Joomla! 3.6.4