AJAX and SEO
-
Hello team,
Need to bounce a question off the group. We have a site that uses the .NET AJAX tool kit to toggle tabs on a page. Each tab has content and the content is drawn on page load. In other words, the content is not from an AJAX call, it is there from the start. The content sits in DIV tags which the javascript toggles - that's all.
My customer hired an "SEO Expert" who is telling them that this content is invisible to search engines. I strongly disagree and we're trying to come to a conclusion. I understand that content rendered async via an AJAX call would not be spidered, however just using the AJAX (Javascript) to switch tabs will not affect the spiders finding the content in the markup.
Any thoughts?
-
You are spot on, all you are doing to hiding and showing, if you can see it with fetch as googlebot you have no problems.
-
All - thank you so much for your help and validation of what I assumed. I've been doing this for about 17 years too and when this guy threw this over the fence at me on a conference call I was confused. Then the client freaked out, etc.
Oleg - using a similar example I copied some content from the site in question directly into the Google search just like you did with facebook.com and there it was. Indexed, plain as day.
-
Your "SEO Expert" is wrong and the content is indexed. This is most notable in FAQs... clicking on the question drops down the previously invisible div with the FAQ answer. Both the question and answer is indexed by search.
Here is an example... searched phrase is in an invisible div but still appears in search.
-
Completely agree. the easiest way to tell what a page truly renders is to use http://seo-browser.com/.
The method you mentioned does NOT hide content, unless it is set up that way in code on purpose, or in the template.
"My customer hired an "SEO Expert" who is telling them that this content is invisible to search engines."
Everyone is a self-proclaimed expert. I've been doing this 12 years, and still don't know everything, lol. I'm really happy you decided to post, and didn't go along with the herd.
-
Hi there Chris
If I'm understanding you correctly, I also agree with your conclusion. If you look at JS loaded content like on the bottom of this page (click the "read more" at the very bottom), that is all content that Google can see and parse.
You can also put this to the test yourselves. If you go to SEO Browser, insert your URL and press "simple", it will show you how your page looks to the Googlebot. If you can see that content that you talked about in the result page, you can be sure that Google sees it too. Definitely one of my favourite tools
Hope this helps!
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
-
Are there any SEO issues we should be aware of on Gutenberg?
We are launching a new website and switching to WP 5.0 Gutenberg. Are there any issues we should be aware of related to SEO with the new platform?
Technical SEO | | AegisLiving0 -
Personalization software and SEO
Hi guys, I'm just testing a personalization software in our website, basically changing the "location" text depending on the user's IP. I can see in my software that when the Google bot comes to our site the personalization software triggers an action changing the location based text to "California". Can this make Google understand that our website targets only users in California and thereof hurt our rankings in other locations nationwide? I'll appreciate your opinions.
Technical SEO | | anagentile1 -
Doing SEO for site that publishes articles everyday?
Hi, I was wondering on the best way to do SEO for a site that publishes articles daily. In other words, I add a new url to my site daily. How should I ensure that the new pages are optimized? Do I need to submit each new site to search engines? Any tips?
Technical SEO | | waltergah0 -
Technical SEO question re: java
Hi, I have an SEO question that came my way, but it's a bit too technical for me to handle. Our entire ecom site is in java, which apparently writes to a page after it has loaded and is not SEO-friendly. I was presented with a work-around that would basically consist of us pre redering an html page to search engines and leaving the java page for the customer. It sounds like G's definition of "cloaking" to me, but I wanted to know if anyone has any other ideas or work-arounds (if there are any) on how we can make the java based site more SEO-friendly. Any thoughts/comments you have would be much appreciated. Thanks!!
Technical SEO | | Improvements0 -
Geotargeting by IP and SEO
Hi, Part of our site displays localized results based on the user's IP (we get the zipcode based on IP). For example a user in NY would get a list of NY based stores, while a user in CA would get a list of CA based stores. So if CA Googlebot comes to our site, it will get results based on Mountain View CA. Given the pages are generated based on your zip, I'm not sure how we'd indicate to Google that we have results for lots of locations and not just the Googlebot IP locations. (users can change their zipcode, but by default we use geolocation). Our landing pages contain localized content and unique urls with the zipcode etc, but it isn't clear how Google will find results for KY etc.
Technical SEO | | NicB10 -
SEO tips for RSS feeds?
What SEO advice do you have for RSS feeds? Specifically, does the URL structure matter? Should the be noindex, follow or noindex, follow? Any other advice?
Technical SEO | | nicole.healthline0 -
What are the SEO implications of using Interstitials?
Hi, I want to implement an interstitial similar to http://timesofindia.indiatimes.com/defaultinterstitial.cms. Within few seconds it gets redirected to http://timesofindia.indiatimes.com/. What are the SEO implications of having this sort of arrangement? Regards
Technical SEO | | IM_Learner0 -
What SEO considerations for multiple languages on a single page?
I am working on a language teaching site for Chinese speakers learning English. I consider myself above average when it comes to basic SEO issues, but all I know here is that Google doesn't like multiple languages on a single page. Without getting into too many details, both Chinese and English text will appear on the same page with links, tags, phonetic spellings, etc. I'm hoping someone here knows the science about using the lang="zh" xml:lang="zh" attributes within text and the effects on ranking for text within the declarations. And it'd be great if there was clarification on the link juice passed using the hreflang attribute for both internal and external links. Also, of course, any info on using both English and Chinese characters in the URL would be most helpful. A heads up on any other language specific SEO issues would also be much appreciated. My goal is to get the most out of both languages per page in terms of ranking.
Technical SEO | | kwoolf0