Pergunta

I have a web site that mostly displays images that contain text. It is heavy with JavaScript. In a noscript tag we have the usual "You must have JavaScript enabled" message followed by the text extracted from the image. My problem is that Google indexes the "You must have JavaScript enabled" message. So when you get a hit on my site, this is in the description. I'd rather not have Google index this at all, but if I can at least get it out of the description that'd be great.

Thanks

Foi útil?

Solução 2

Also see SO question Display a “No Javascript” div, but not to google / facebook share servic, which I believe better answers my question.

Outras dicas

Just provide your own description in <head>.

<meta name="description" content="Lorem ipsum.">

This will appear in the site description in Google results. It can contain about 150 words.

See also:

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top