redirect - www or non-www google preference, cname, .htaccess and html canonical tag -
this seems bunch of contradictions!
firstly, google recommends both www , non www entities of website listed properties in webmaster tools. done.
in doing google asks select preferred domain, or without www. set without.
then google states this: "this setting defines host - www or not - should considered canonical host when indexing site." believe real domain www , canonical without.
then google states this: " ensure specify new host canonical in page links or sitemaps. use 301 redirects route traffic previous host new host. "
so mean need add:
<link rel="canonical" href="http://serenitygardenrooms.com" />
to every page on site?
and
do need use permanent 301 redirect in .htaccess file this:
rewriteengine on rewritecond %{http_host} ^www\.serenitygardenrooms\.com$ rewriterule ^/?$ "http\:\/\/serenitygardenrooms\.com\/" [r=301,l]
?????
and there cname of dns settings. defined so:
"www.serenitygardenrooms.com cname 10 minutes serenitygardenrooms.com"
now providing have firstly, understood , applied right settings , coding.... doesnt sound saying same thing in 5 different ways , little unnecessary? need this?
i appreciate "right" opinion on this.
many thanks
Comments
Post a Comment