質問

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