What is the best method for getting pure Javascript/Ajax pages Indeded by Google for SEO?
-
I am in the process of researching this further, and wanted to share some of what I have found below. Anyone who can confirm or deny these assumptions or add some insight would be appreciated.
Option: 1
If you're starting from scratch, a good approach is to build your site's structure and navigation using only HTML. Then, once you have the site's pages, links, and content in place, you can spice up the appearance and interface with AJAX. Googlebot will be happy looking at the HTML, while users with modern browsers can enjoy your AJAX bonuses. You can use Hijax to help ajax and html links coexist. You can use Meta NoFollow tags etc to prevent the crawlers from accessing the javascript versions of the page.
Currently, webmasters create a "parallel universe" of content. Users of JavaScript-enabled browsers will see content that is created dynamically, whereas users of non-JavaScript-enabled browsers as well as crawlers will see content that is static and created offline. In current practice, "progressive enhancement" in the form of Hijax-links are often used.
Option: 2
In order to make your AJAX application crawlable, your site needs to abide by a new agreement.This agreement rests on the following:
- The site adopts the AJAX crawling scheme.
- For each URL that has dynamically produced content, your server provides an HTML snapshot, which is the content a user (with a browser) sees. Often, such URLs will be AJAX URLs, that is, URLs containing a hash fragment, for example www.example.com/index.html#key=value, where #key=value is the hash fragment. An HTML snapshot is all the content that appears on the page after the JavaScript has been executed.
- The search engine indexes the HTML snapshot and serves your original AJAX URLs in search results.
In order to make this work, the application must use a specific syntax in the AJAX URLs (let's call them "pretty URLs;" you'll see why in the following sections). The search engine crawler will temporarily modify these "pretty URLs" into "ugly URLs" and request those from your server. This request of an "ugly URL" indicates to the server that it should not return the regular web page it would give to a browser, but instead an HTML snapshot. When the crawler has obtained the content for the modified ugly URL, it indexes its content, then displays the original pretty URL in the search results. In other words, end users will always see the pretty URL containing a hash fragment. The following diagram summarizes the agreement:
See more in the....... Getting Started Guide.Make sure you avoid this:
http://www.google.com/support/webmasters/bin/answer.py?answer=66355
Here is a few example Pages that have mostly Javascrip/AJAX : http://catchfree.com/listen-to-music#&tab=top-free-apps-tabhttps://www.pivotaltracker.com/public_projects
This is what the spiders see: view-source:http://catchfree.com/listen-to-music#&tab=top-free-apps-tab
This is the best resources I have found regarding Google and Javascript
http://code.google.com/web/ajaxcrawling/ - This is step by step instructions.
http://www.google.com/support/webmasters/bin/answer.py?answer=81766
http://www.seomoz.org/blog/how-to-allow-google-to-crawl-ajax-content
Some additional Resources:http://googlewebmastercentral.blogspot.com/2009/10/proposal-for-making-ajax-crawlable.html
http://www.seomoz.org/blog/how-to-allow-google-to-crawl-ajax-content
http://www.google.com/support/webmasters/bin/answer.py?answer=35769
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
International pages - SEO - which metatags to use?
I'm trying to get my International pages set up correctly for SEO
Industry News | | MikeSEOTruven
Can you tell me which of the following meta-tags are the ones to use on the pages?
I've heard that some might be obsolete, so will it hurt if I throw on all 3 or just choose 1? Example: Italian language page0 -
Google still showing sitelinks from old website
Hi guys, we relaunched our website www.segafredo.com.au a few weeks ago, however google is still showing site links from our old page that no longer exist... Is there anything we can do about this? Sit back and wait or try demoting the old urls in webmaster tools? Looking forward to see your tips! Ciao, Manny.
Industry News | | Immanuel0 -
Best SEO way to implement multi language store
Hi, I have a magento 1.7 multilanguage store with the following structure: www.example.com/nl and www.example.com (Dutch) www.example.com/uk (English) www.example.com/de (German) As you can see the dutch language basically has two url and this gives problems according to Roger. Both urls show the same page and therefor duplicate content. Should i 301 www.example.com to www.example.com/nl ?
Industry News | | mikehenze
And would this not cause problems with the indexing because www.example.com is shown when searching for my keywords. I need to have all three languages to be indexed good and used only for the correct countries.0 -
Is it getting harder to sell SEO services?
Is it just me, or is it getting harder to sell SEO services? SEO costs more now and takes longer to achieve results There seem to be more good SEO agencies out there (gone are the days where the primary competition was offshore outsourcers and web design agencies) It seems that the number of agencies is growing faster than the number of companies buying services As online competition heats up, it takes more and more budget to really "win" in a market, but so few companies are willing to invest enough Any others notice similar trends? What will the future look like?
Industry News | | AdamThompson0 -
3724 pages submitted, 3591 indexed
You probably know what I mean, the report in Google Webmaster Tools > Sitemaps. So how do I locate the pages that are NOT indexed? Thanks, Ben
Industry News | | bjs20100 -
Looking For A reliable Japanese Based SEO Agency
Hey everyone, my company is looking for a reliable SEO agency to help with our Japanese site. I was wondering if anyone had any possible positive experiences with one? Carl
Industry News | | geekdesign0 -
SEO-contests like “hochgeschwindigkeitsSEO” worldwide?
In Germany people out of the SEO industry seem to love SEO contests - the latest one being to bring up the keyword “hochgeschwindigkeitsSEO” on Pos. 1 on Google until a set time (contest entry example here). There obviously is a price (newest iPhone) and a sponsor (Randolf Jorberg), but for the most part it's a contest which holds the Olympic thought: Being there just means most of it 🙂 So I was wondering: are there any other countries where such contests are being held? I have not heard of any examples and I am quite curious if any other SEO communites out there have something similar going on 🙂
Industry News | | blueSummit1