Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a page where the general structure is

<a href="#section1">section 1</a>
<a href="#section2">section 2</a>
<a href="#section3">section 3</a>
<a href="#section4">section 4</a>

<section id="section1">
<h1>section 1</h1>
<p>some content</p>

<section id="section2">
<h1>section 2</h1>
<p>some content</p>

<section id="section3">
<h1>section 3</h1>
<p>some content</p>

<section id="section4">
<h1>section 4</h1>
<p>some content</p>

(there are about 10 sections all with quite a bit more content and have missed out alot of the surrounding html but this is the basic structure).

All the content is on one page and clearly seperated semantically and the page relies on javascript to choose which sections to hide / show.

I am wondering whether from an SEO perspective it would be good to use #! links and implement http://code.google.com/web/ajaxcrawling/ returning only the content for each section? Would this mean that the site no longer functioned without javascript? If the '!' was added in using javascript would google pick this up or would they use the raw html? Or will google index the content on the page correctly (ie ignore the javascript completely)?

share|improve this question
up vote 2 down vote accepted

Make a test page and use fetch as googlebot to see how it crawls your page.

share|improve this answer
Checked and it seems google is ignoring the javascript as far as I can see – Tom Aug 2 '11 at 13:55
You might be interested in this thread: webmasters.stackexchange.com/questions/15083/… . I was looking for a way to tell if the content was actually indexed after publishing, it might be useful to you. Read both answers. – JMC Aug 2 '11 at 14:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.