I have some elements which I don't want Google to see. Usually repetitive content, e.g. header and sidebar.

As Googlebot doesn't handle AJAX requests, I load these resources with AJAX and insert them into the DOM.

Does this cause any SEO problems? Does Google even recognize this activity?



2 Answers 2


That's silly. Common headers and sidebars are common and fine. This at best is useless, at worst is serving different content up to search engines than to users which is black hat SEO.

  • It is worth mentioning that the elements mentioned normally have your navigation in - Google needs these to be able to spider the site accurately.
    – Toby
    Commented Jul 25, 2012 at 12:33
  • I have very detailed xml sitemap for that.
    – Kristian
    Commented Jul 26, 2012 at 7:28
  • so, what is the right way to tell google about the main content in your page ? for example how did StackOverflow solve this problem ?
    – MhdSyrwan
    Commented Apr 30, 2014 at 20:44
  • @MhdSyrwan It's hardly a problem. It's a basic task for search engines. Headers and footers are easy to find based on many factors. The most common being the HTML tags and attributes used for them.
    – John Conde
    Commented Apr 30, 2014 at 20:47

If you are able to use HTML5, then putting your header in a <header> tag and your sidebar in a <nav> tag may have an impact on how the content is indexed.


  • Any reference about that? I'm doubtful
    – j0k
    Commented Jul 25, 2012 at 12:00
  • j0k - just checked and you're right, it isn't definitive. Have updatd my answer.
    – cjk
    Commented Jul 25, 2012 at 12:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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