Reputation: 50097
This should be an easy one for someone:
Will the <noscript>
element cause the HTML page to serve only the content within the <noscript>
tag itself to google crawlers and hide all the rest of my static content causing it so not to be indexed?
Thanks!
Upvotes: 1
Views: 967
Reputation: 11277
The whole HTML file is served in response to a GET request. Google should honour robots.txt and not spider directories marked with that.
Upvotes: 3
Reputation: 281485
No. The crawlers will see all your content, both within the <noscript>
element and everywhere else.
Crawlers behave a lot like browsers with JavaScript turned off - they see all the static content plus the <noscript>
content, but not anything JavaScript-dependent.
Upvotes: 4