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
-
IFrame Persistent Music Player - SEO impact
Hi, I'd like to know if using an iFrame for a persistent music player on a website - e.g https://www.sampletoolsbycr2.com - would have any negative impact on SEO? For example, it doesn't cause any issues preventing the site being crawled? Thanks, Joe
Technical SEO | | iweb_agency0 -
Use of title tags on divs for SEO purposes
Hello community, I recently was asked by a client to analyze a website of a competitor. I did was he asked me to do but when I looked at the source code of the website I found this code: I changed the exact words into something for privacy reasons, but I never looked at a code like this.
Technical SEO | | JarnoNijzing
Using a div for an anchor I get but adding a title tag to the div? I never seen that before. Title tags on anchors, yes, using images in divs as background and then adding a title??? Does anyone have any experience with a code like this and if you do how does this impact rankings? Does it impact rankings at all and does anybody know of any correlation between the two? Looking forward for your responses. Regards Jarno0 -
Mobile and hidden content - Any issue for SEO?
In reference to mobile - am I walking a fine SEO line when it comes to hidden content on mobile? On the responsive variations of sites we are working on some content is hidden (that displays on the desktop version of the site) so that pages on mobile can display correctly. Is this negative for SEO? Appreciate any feedback Cheers.
Technical SEO | | Oxfordcomma0 -
Web server locations for international seo
We have a site that is currently hosted in the far east for the far eastern market. We are having issues with the hosting co. so we are considering bringing the site back onto our servers in the UK. However, we don't obviously want to damage too much the bit of uplift we get from local hosting. What is our best approach? Is it ok just to have the site in the UK even though its aimed at the Far East? Or is the use of a proxy server good? Or should we look for other local hosts? Any help very gratefully received. Iain
Technical SEO | | iain0 -
Does Switching Web Hosts Hurt SEO?
A few months ago, my site was shut down by BlueHost because of performance issues, so I moved it to WP Engine, and cleaned up most of the plug-ins. Since then, my search engine traffic has decreased over 50%. Does switching web hosts hurt SEO? Thanks!
Technical SEO | | JodiFTM0 -
Https enabled site with seo issues
Hello, Is there a problem with seo bots etc to crawl and rank my wesbite well if the entire site is https enabled? We have a sign in button which results on the next page being https along with the main homepage and all other pages are https enabled. Any major setbacks to the seo strategies? How do I overcome these issues?
Technical SEO | | shanky10 -
NOINDEX,NOFOLLOW - Any SEO benefit to these pages?
Hi I could use some advice on a site architecture decision. I am developing something akin to an affiliate scheme for my business. However it is not quite as simple as an affliate setup because the products sold through "affiliates" will be slightly different, as a result I intend to run the site from a subdomain of my main domain. I am intending to NOINDEX,NOFOLLOW the subdomained site because it will contain huge amounts of duplication from my main site (it is really a subset of the main site with some slightly different functionality in places). I don't really want or need this subdomain site indexed, hence my decision to NOINDEX,NOFOLLOW it. However given I will, hopefully, be having lots of people link into the subdomain I am hoping to come up with some sort of arrangement that will mean that my main domain derives some sort of benefit from the linking. They are, after all, votes for my business so they feel like "good links". I am assuming here that a direct link into my NOFOLLOW,NOINDEX subdomain is going to provide ZERO benefit to my main domain. Happy to be corrected! The best I can come up with is to have a "landing page" on my main domain which links into parts of my main domain and then provides a link through to the subdomain site. However this feels like a bad experience from the user's point of view (i.e. land on a page and then have to click to get to the real action) and feels a bit spammy, i.e. I don't really have a good reason for this page other than linking! Equally I could NOINDEX,FOLLOW the homepage of the affiliate site and link back to the main domain from there. However this also feels a bit spammy and would be far less beneficial, I guess, because the subdomain homepage would have many more outgoing links than I envisaged for my "landing page" idea above. Also, it also looks a bit spammy (i.e. why follow the homepage and nofollow everything else?)! The trouble, I guess, is that whatever I do feels a bit spammy. I suppose this is because IT IS spammy! 🙂 Has anyone got any good ideas how I could setup an arrangement like I described above and derive benefit to my main domain without it looking (or being) spammy? I just hate to think of all of those links being wasted (in an SEO sense). Thanks Gary
Technical SEO | | gtrotter6660 -
Is Disqus SEO friendly?
I like the look of Disqus for handling comments but I'm not sure if it is really SEO friendly. Any other more SEO friendly alternatives out there (other than blogging software)?
Technical SEO | | andywozhere0