How does AJAX content effect SEO

Posted on 2010-01-07
Last Modified: 2013-12-08
Im developing a new website and alot of the content is loaded using AJAX.

For example, a section of the website has client testimonials.  I use AJAX to call a PHP script which queries the DB and returns JSON formatted data.

In the same AJAX callback function I parse the JSON data and create my HTML objects all using JavaScript.

Now everything works well, it's fast and does the job it's meant to do.  However I'm worried how this will effect SE's and SEO?  

A lot of the page's content is loaded like the client testimonials above so even though the content is dynamic and not actually "hardcoded" into the page, except the container DIV, will SE's be able to read this content visible to the user?
Question by:ellandrd
    LVL 16

    Accepted Solution

    search engines are unable to read content contained within Javascript/AJAX, so anything you put in Javascript will not be seen by search engines.

    Go to to see how a search engine will view your page.  
    LVL 31

    Assisted Solution

    How the page is originally sent to the browser is generally what gets spidered.  So if you have all the information sent to the page when it first loads and simply use javascript to hide/unhide it, then it is all spiderable.

    But if you only load the container divs and then use javascript to fetch and populate, that data is probably not going to be seen by any of the search engines.

    Another quick way to check your site is to simply turn off javascript and reload the page, but the advanced features of the link dhwake gave give an excellent overview of your page.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Your personal information, where you live, your wedding information, and anything else personal may be located online and in many cases the aggregators who pulled this stuff did so without your permission. Here are ways that you can get rid of unwan…
    Read about why website design really matters in today's demanding market.
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now