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
-
Weebly vs Wordpress for SEO?
Hi Mozzers, Wordpress has become a pain in the butt as far as plugins slowing down site speed and snippets of codes breaking here and there. My goal is to decrease the constant maintenance that needs to be done on Wordpress. I am curious what do you guys think of Weebly as an "SEO platform" vs wordpress? I only hear good things about Wordpress for SEOs but what about Weebly? Please share your thoughts and why one or the other is better for SEO purposes? P.S: if you have any experience with Weebly, feel free to let me know how did that go for you and if you were satisfied with it. Thanks!
Industry News | | Ideas-Money-Art0 -
Best SEO agency
What are peoples thoughts and ratings on SEO agencies in London. There are so many of them it is hard to understand which are the best.
Industry News | | S_Curtis1 -
Local SEO issue
Hello, I have a client that is located just outside of Baltimore, MD. Their zip code is 21236, which is seen as sometimes Nottingham and sometimes Overlea. Their competitors come up for Baltimore with the same zip. This client seems to be having some problems, and I think it is because of this geo confusion? Is this so, and if so, how can I make location more clear to Google? Thanks
Industry News | | lfrazer0 -
What is the best Press Release website?
What is the best press release website for getting a press release in front of writers and news sources? We have used a couple with OK success, but I would like to hear and learn from the experiences of others. Thanks *I am not concerned with the page rank of the press release site or any SEO benefit coming from the PR website itself.
Industry News | | VentaMarketing0 -
If you could go back in time and build any brands SEO what brand would that be and why?
Ok so yes this my idea of having fun when I think about SEO. For me it would be Coca Cola as they only have fast moving consumer goods and their whole brand just SCREAMS "please take me viral". Maybe Disney or a Gaming company..
Industry News | | ColinWhite2 -
What are the click-through rates by position for organic search on Google by industry?
I'm interested in knowing what the average CTRs are by industry (specifically for the credit card industry). Here's an example of what I want in aggregate (not by industry): http://searchengineland.com/organic-click-thru-rates-tumbling-study-97338 Is this information available?
Industry News | | wepayinc0 -
Want to a Medium Cost Seo Firm
Hi, I have a website which is ranged in medium scale, I want some medium cost seo company to do the seo work for my site. I willing to pay upto $500 p/m. Waiting for the replies.
Industry News | | Dexx220 -
Google Product Feeds - New Requirements
We are in the jewelry industry, and for Google product feeds, we list our products under "Apparel & Accessories > Jewelry". As of the new Google feed requirements, they are saying that we have to choose a gender and color for each product that is in the Apparel category. While this makes sense for clothes, it doesn't exactly for jewelry because many items are for both men and women, and there's not always a color associated with each product. I can enter some of these fields manually, but with 5,000+ products, it makes it difficult w/ each update. Anyone have solutions for this? Or a way around it? Can we just include those fields but leave them blank? Any other solutions?
Industry News | | applesofgold1