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
-
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 -
What are the meta tags should be included in the website and all its pages?
Hi Moz teams and all community members, I have been thinking that what are the necessary meta tags should I include in the website and all its pages? Please guide me with the detail manner and how important each of these as I found this useful link. Best,
Industry News | | Futura
Teginder0 -
If I have a Google+ Business page, do I need a Google Places page as well?
It seems like the two are redundant? Any official word on this? I'm fairly OCD about things being tidy and I dont want to split my reviews / shares / etc between two profiles. Are they not the same thing? I searched for my company, both my plus business page and my places page came up. I attached a SS of the situation. placesvplus.png
Industry News | | jonnyholt1 -
Looking For A reliable Korea Based SEO Agency
Hey everyone, my company is looking for a reliable SEO agency to help with our Korean 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 -
Searching for another Defender of the Front Page!
Greetings Mozfriends and Champions! My company is searching for a performance based SEO that can handle multiple websites and platforms at the same time. Was wondering if any of you fine people would be interested in such a quest. Please reply to the message or you can E-mail me at Jsmith@frontlinemobility.com. Good Luck Champions! Justin Smith
Industry News | | FrontlineMobility0 -
How many small businesses use SEO?
I'm looking for data (not opinions) on how many small businesses use SEO, that is, either do it in-house, hire a firm, or hire a freelancer. I've poked around on SEMPO and eConsultancy but can't find what I'm looking for.
Industry News | | jsteimle0 -
Is it smart to reveal your clients and projects in the Q&A forum? What about on your own SEO blog?
On one hand it seems like having my cake and eating it too: blogging about SEO using my clients as case studies in order to give them a couple backlinks. On the other hand it seems like asking for it from Google or from competitors. Got any advice? And what of mentioning actual domains and brand names when asking questions here in the forum? One one hand it seems like I'd get more specific advice, on the other hand, once again, it seems like it comes with some amount of risk. Any advice? Thanks!
Industry News | | TheEspresseo0