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
-
International SEO - Hreflang tags and URL Structure
Hello, I wonder if any SEO internationalisation experts can help. We are a UK centric business with a .com domain which all our traffic currently goes to. We have been growing in the US and are therefore looking to internationalise our website by building out some US pages using the subfolder .com/us. Since the keywords we wish to target in the US are different to the keywords we are targeting elsewhere, when implementing hreflang tags is it possible to use a different URL for the US page? So let’s say we are targeting ‘estate car’ generally but want to target ’station wagon’ as the keyword for the equivalent US page, can the URLs be different? Example: General page: www.example.com/estate-car US: www.example.com/us/station-wagon Hreflang tags: Would that be the correct implementation? Any help or guidance would be much appreciated!
Technical SEO | | SEOCT0 -
SEO implications of network outage
Hi, Our bandwidth provider has informed us of a forthcoming network outage this weekend, the net result being that around 20 websites will be unreachable for a total of about 1 hour inside a predetermined 3 hour window.In an ideal world we would like to provide a holding page or be able to respond with a "503 Service Temporarily Unavailable" HTTP code, however the complete absence of connectivity means we'll be unable to do this.Does anyone have any ideas about the SEO implications of this kind of downtime? It would be useful to know if there are any actions we can take prior to the outage that could mitigate the impact. We've considered repointing the DNS to other servers, but it's only something we'll do if the negative impact of not doing it is too great.Thanks in advance!
Technical SEO | | Dave3920 -
301 redirects and seo..
I bought a domain and it has nice traffic. It only has about 5 main pages in php When i got the site i switched to html because php was overkill. I did the 301 and google deleted the php files and replaced with html version when i check site:domain.com It has been about 7 days. I DID NOT use 301 for each of the 5 pages to go php to html instead is used this code RewriteEngine On
Technical SEO | | samerk
RewriteCond %{HTTP_HOST} ^mydomain.com
RewriteRule (.) http://www.mydomain.com/$1 [R=301,L]
RedirectMatch 301 (.).php$ http://www.mydomain.com$1.html So basically if you load php it will load the html version. dog.php > dog.html Is this OKAY? or should it be done differently.... worried! Thanks !0 -
Does SEO Reflect when We change the Host??
I would like to know, if i switch to host not Domain, Just Host which just change the internal IP, Will that Affect to My SEO? If YES then What is the procedure to safe our SEO before Move? Or what is Procedure after we Moved. Hope many people found this issues, and got the solution, I through Google Webmaster do through filter, but i am not sure about it. Thanks
Technical SEO | | Webranx0 -
Html5 in SEO
What is the convinience of using html5 for seo.As i read is not too good using many h1 in each metacontent (due to crawler alerts) , but it is good to use html5. We have follow or so this web guidelines www.tumanitas.com whtat do you think about taht?
Technical SEO | | ofuente0 -
200 Redirects for SEO instead of 301
We are working with a company on re-platforming our website. On a call yesterday they outlined a strategy to use 200 redirects for our top keywords instead of 301s. I am not familiar with this type of redirect and was wondering if anyone could provide some more insight.
Technical SEO | | EvergladesDirect0 -
Where should a knowledge base be hosted for max. SEO benefit?
A client would like to set up a knowledge base to work in conjunction with their website and we are tossing up whether to go with a hosted solution (and therefore set up as a subdomain) or find a solution that we host on the clients domain (which will presumably have more SEO benefit). We are leaning towards the latter (although are mindful that we need to balance the client’s desire for a quality KB solution). Appreciate your feedback.
Technical SEO | | E2E0 -
How I can deal with ajax pagination?
Hello! I would like to have your input about how I can deal with a specific page in my website You can see my page here As you can see, we have a list of 76 ski resort, our pagination use ajax, wich mean we have only one url, and just below the list, we have a simple list of all the ski resort in this mountain, which show all the 76 ski resorts.. I know it's quite bad, since we can reach the same ski resort with two différents anchors links. Thanks you very much in advance, Simon
Technical SEO | | Alexandre_0