1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

SEO for AJAX websites

Discussion in 'Search Engine Optimization' started by rubeina, Mar 10, 2009.

  1. #1
    I know ajax is great to add functionalities to websites, fast etc etc. But what about websites that are completely in AJAX, how to optimize without having to completely redo everything?
    SEMrush
     
    rubeina, Mar 10, 2009 IP
    lycos likes this.
    SEMrush
  2. suhaana@maxinspire.co.in

    suhaana@maxinspire.co.in Peon

    Messages:
    91
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    like Flash, AJAX can make a site difficult for search engines to index if the technology is not implemented carefully. There are two main search engine issues around AJAX: Making sure that search engine bots can see your content, and making sure they can see and follow your navigation.

    While Googlebot is great at understanding the structure of HTML links, it can have difficulty finding its way around sites which use JavaScript for navigation.

    When you're designing your AJAX site, think about the needs of your users, including those who may not be using a JavaScript-capable browser (for example, people who use screen readers or mobile devices).
    Viewing a site as text-only can also help you identify other content which may be hard for Googlebot to see
    Avoid iFrames - or link to their content separately
    Content displayed via iFrames may not be indexed and available to appear in Google's search results.
    If you do include iFrames, make sure to provide additional text-based links to the content they display, so that Googlebot can crawl and index this content.

    When creating your links, format them so they'll offer a static link as well as calling a JavaScript function. That way you'll have the AJAX functionality for JavaScript users, while non-JavaScript users can ignore the script and follow the link. For example:

    <a href="ajax.htm?foo=32" onClick="navigate('ajax.html#foo=32');
    return false">foo 32</a>

    Note that the static link's URL has a parameter (?foo=32) instead of a fragment (#foo=32), which is used by the AJAX code.

    This is important, as search engines understand URL parameters but often ignore fragments. Since you now offer static links, users and search engines can link to the exact content they want to share or reference.