If I search for our website www.captaincookresorts.com on google, first result has correct title corresponding homepage title, but description below is total nonsense.

Screenshot here

It's part of one language select's option. There are all informations like meta description, keywords, schema.org tags ..., but google chose this. Can anybody enlighten me why?

有帮助吗?

解决方案

Your option elements look like:

<option value="it">&lt;span class=&quot;lang-row sys-disablePropragation&quot; rel=&quot;http://it.captaincookresorts.com&quot; onclick=&quot;window.location=jQuery(this).attr(&#39;rel&#39;);&quot; title=&quot;Italiano&quot;&gt;&lt;span class=&quot;langcode&quot;&gt;IT&lt;/span&gt;&lt;span class=&quot;ico-flag flag-it&quot;&gt;&lt;/span&gt;&lt;/span&gt;</option>

Instead, you probably want something like:

<option value="it">Italiano</option>

The content model of option elements is "Text", so they can’t contain HTML/JavaScript.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top