Home » Technical SEO » Currently Reading:

AJAX and SEO, will they ever be united?

June 10, 2010 Technical SEO 2 Comments Jeroen van Eck

AJAX, along with Flash the ugly kid of web development for SEO, was introduced in 2005. The expectations were high but it never really got popular. A survey in October 2008 reported that 3.20% of the web pages tested used the XMLHttpRequest DOM object, an important part of AJAX.

The combination of AJAX and SEO has never been a good one. SEO has a strong fundamental basis in the document structure of the web. AJAX creates possibilities to discard the document structure of the web and offers a way to create single page websites. Gmail for example is a single page website.

AJAX and SEO seem like two worlds which cannot be united, or can they? While extensive use of AJAX should be a threat to SEO it doesn’t get that much attention. A search for ‘AJAX SEO’ in Google returns mainly articles dating from 2006, 2007 and 2008. Time for a little update.

What is the function of AJAX?

AJAX (Asynchronous JavaScript And XML) is a group of interrelated web development techniques used on the client-side to create interactive web applications.” The main advantage of AJAX is that it offers the possibility to update information on a webpage without refreshing the whole page. While remaining on the same page, with AJAX you can update parts of the content for users. The possibilities of AJAX for creating more dynamic websites are great and widely appreciated, but the use of AJAX also comes with a lot of restrictions in other areas. Think about web analytics, bookmarking, the use of back buttons and of course SEO.

AJAX and SEO implications

The basis of SEO is that every page with different content is in fact a different document, therefore it has a different location (URL). When the content of a page changes it becomes a different document and should therefore have a different URL. Before AJAX this happened automatically. With AJAX new content can be requested from the server without refreshing the page. Since AJAX uses JavaScript to generate the page with new content search engine robots cannot crawl these altered pages. Therefore any content that’s only accessible through AJAX requests will not be indexed by search engines. There are however some possible solutions to this problem.

Possibilities of AJAX for SEO

On the other hand AJAX may offer some possibilities for SEO. There might be information you want to show to your users, but not so much to the search engines. This is where AJAX can be used in your advantage for SEO.

For example, when you have a product page with the basic information about a product (/product/). You might want to show the user a page with the specifications of that product as well. You could create another page with the product specifications (/product/specs/). However search engines will be able to index this page and this page will gather value next to your original product page. Now you have two pages optimized for the same product. Imagine if you have even more pages with information about this product.

Instead you could update the content of the product page with the specifications of the page through an AJAX request (/products#specs). This way you can show extra product information without creating an extra page. And best of all: with the use of the # in the URL users can link directly to the specifications but the link value for search engines will go to the original product page you want to rank for.

Other actions you could complete with AJAX (in order not to produce new pages you don’t want to be indexed) are:

  • Direct feedback on form submissions
  • Updating shopping baskets
  • Adding suggestions in input fields
  • Organizing information on a page (dragging, filtering or sorting)

Solutions for AJAX and SEO

The limitations of AJAX for SEO has been asking to be solved for a long time. The problem with making AJAX crawlable is that all the content not meant for indexation could be indexed all of a sudden. The fact is however that search engines are working on a way to make AJAX crawlable. Google, as an innovator in improving the web, sees the benefits of AJAX and has been using it already for a long time. Gmail as well as Google Wave and Google Maps thrive on the possibilities and the speed of AJAX for the usability of its interfaces. Google even developed a web toolkit for development of AJAX applications. Therefore they also wrote a guide on how to make AJAX applications crawlable. The way search engines want to make AJAX crawlable will not interfere with the way AJAX is used now, but it offers a way to make certain specified information crawlable and regular AJAX applications not. In March of this year Google officially announced that they started crawling AJAX. And the first results are already here:

medical clinics ajax AJAX and SEO, will they ever be united?

 AJAX and SEO, will they ever be united?

Author: Jeroen van Eck

Jeroen van Eck (@jvaneck) is still a fresh mind in the world of search. In September 2008, after graduating in marketing communication at the University of Twente, he started as a consultant search engine marketing at the online marketing company E-difference in the Netherlands. More articles and bio from Jeroen van Eck
Please share if you think others would benefit


Related posts:

  1. HTML 5 and SEO – when, what and how?
  2. Bloggers highlight: Jeroen van Eck (@jvaneck)
  3. The Googlolution – Is Google changing too quickly?
  4. Could information accessibility be the biggest threat for Google?
  5. How we got our rankings back with mainly technical changes

Want to keep informed on what goes on in the world of Search and Social and here on State of Search? Subscribe to our newsletter now!

Currently there are "2 comments" on this Article:

  1. jmarranz says:

    Thanks for citing The Single Page Manifesto

    “The problem with making AJAX crawlable is that all the content not meant for indexation could be indexed all of a sudden”

    This is the cornerstone of the AJAX problem and not easy… I’m proud of solving this problem with ItsNat, a Java web framework.

    Take a look of this demo based on ItsNat:

    http://www.innowhere.com:8080/insites/

    Is based on these ideas:

    http://itsnat.sourceforge.net/index.php?_page=support.tutorial.spi_site

    As you can see is not that hard (most of the code of this tutorial can be reused in any project in fact is used in the first demo).

    “AJAX and SEO, will they ever be united?”

    YES, the Single Page Interface world is coming :)

  2. Michael says:

    I find it strange that my google search for “SEO AJAX” didn’t return the google article that you mentioned: Making AJAX Applications Crawlable

Comment on this Article:







State of Search

The fastest growing Search and Social blog covering strategy developments in search and social World Wide with an international perspective no other blog has!

This site is listed in:
The Adage Power 150
Top Rank Blog's Big List of Search Marketing Blogs
Ebuzzing Top Online Marketing Blogs
Findthebest Blogs

Find out more about us

Sign up for our newsletter



Sponsors

Manual Linkbuilding ___________________________________________________

Recent Comments

  • Sally: These are excellent tips. This is prob...
  • Daniel: Loved this post, I shared it with all ...
  • James Carson: Nice post. Thanks for the link :-). Th...
  • Jeff: There are social shopping sites, a sim...
  • Arne van Elk: Thanks guys, I guess I'll keep using i...

Upcoming Events

SES London 2012 ___________________________________________________
Thinkvisibility 2012 ___________________________________________________
Brighton SEO 2012 ___________________________________________________
SMX London 2012 ___________________________________________________
International Search Summit ___________________________________________________

Sponsors