Clicky

X

Subscribe to our newsletter

Get the State of Digital Newsletter
Join an elite group of marketers receiving the best content in their mailbox
* = required field
Daily Updates

AJAX and SEO, will they ever be united?

10 June 2010 BY

0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Buffer 0 Email -- StumbleUpon 0 Pin It Share 0 Filament.io 0 Flares ×

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:

AUTHORED BY:
h

Jeroen van Eck is a consultant search engine marketing at the online marketing company E-Focus in the Netherlands.
  • http://www.itsnat.org jmarranz

    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 :)

    • hilarityensues

      Three years later. It seems like your’e still waiting on that world to arrive.

      Not that you’ll ever see or respond to this. Who has time for accountability for their predictions?

  • Michael

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

  • Pingback: Why you Should be Blogging as an SEO - State of Search

  • GMR Website Maintenance

    Interesting Article! Thanks for sharing.

0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Buffer 0 Email -- StumbleUpon 0 Pin It Share 0 Filament.io 0 Flares ×

Nice job, you found it!

Now, go try out the 12th one:

Use Google Translate to bypass a paywall...

Ran into a page you can't read because it is blocked or paywalled? Here's a quick trick (doesn't always work, but often does!):

Type the page into Google translate (replace the example with the page you want):

http://translate.google.com/translate?sl=ja&tl=en&u=http://example.com/

How about that!?

Like this 12th trick? Tell others they need to look for this trick on our page: http://www.stateofdigital.com/search-hacks-marketers/

Or Tweet: Found the secret 12th one!