Main content - javascript/ajax
-
Hi,
On most of our pages Javascript is displaying our main content, so it doesn't show up on the page source and I assume isn't being crawled by Google to the best of its ability.
It's also not showing up on MOZ's page grader and crawl results, making analysis and testing harder.
What's the easiest way, without having to completely redo our website, to have this content crawled by search engines and moz?
-
Google's guide for AJAX crawling is here. This is a considerable amount of work though, and honestly I wouldn't recommend it. Google is getting better everyday at crawling JavaScript content. You can try to test whether it's indexing this content by doing some very specific Google searches for things only rendered by JavaScript, and seeing if your pages rank for those searches. If they do, there's a good chance that Google is reading and rendering your JavaScript properly. Even if they don't now, it's likely only a matter of time before they do.
I don't imagine that Rogerbot has an army of engineers at Moz trying to figure out how to render JavaScript outside of a browser, so I wouldn't expect this to come to Moz crawls anytime soon. I also doubt that Rogerbot would understand what's going on in Google's guide either, as I wouldn't expect many sites to have actually gone through this process.
Why is most of your main content generated by JavaScript? It sounds like you should be rendering some of this on the page in good ol fashioned HTML. A lot of times this doesn't require an entire redo of a website. It could just be a matter of loading some default HTML with the page, and then updating it with JavaScript, instead of rendering all of it with JavaScript. It would be easier to see if you share the site (if not, I understand).
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
-
Duplicate content across domains?
Does anyone have suggestions for managing duplicate product/solution website content across domains? (specifically parent/child company domains) Is it advisable to do this? Will it hurt either domain? Any best practices when going down this path?
Intermediate & Advanced SEO | | pilgrimquality0 -
IFrames and Thin Content Worries
Hi everyone, I've read a lot about the impact of iFrames on SEO lately -- articles like http://www.visibilitymagazine.com/how-do-iframes-affect-your-seo/ for example. I understand that iFrames don't cause duplicate content or cloaked content issues, but what about thin content concerns? Here's my scenario: Our partner marketing team would like to use an iframe to pull content detailing how Partner A and my company collaborate from a portal the partners have access to. This would allow the partners to help manage their presence on our site directly. The end result would be that Partner A's portal content would be added to Partner A's page on our website via an iFrame. This would happen about across at least 100 URLs. Currently we have traditional partner pages, with unique HTML content. There's a little standalone value for queries involving the bigger partners' names + use case terms, but only in less than 10% of cases. So I'm concerned about those pages, but I'm more worried about the domain overall. My main concern is that in the eyes of Google I'd be stripping a lot of content off the domain all at once, and then replacing it with these shell pages containing nothing (in terms of SEO) but meta, a headline, navigation links, and an iFrame. If that's the case, would Google view those URLs as having thin content? And could that potentially impact the whole domain negatively? Or would Google understand that the page doesn't have content because of the iFrames and give us a pass? Thoughts? Thanks, Andrew
Intermediate & Advanced SEO | | SafeNet_Interactive_Marketing0 -
Why does our main keyword keep dropping?
Hey Guys, We've seen an alarming drop in our main keyword for our website. Our biggest driver of traffic has always been the search term 'gifts for men' which we commanded the top spot for a while, but have always been in the top 4 for. Recently (in the last 3-4 months) we dropped to 6 and as of last night we dropped down to 9th. We still rank number 2 for 'gift ideas for men'. Both search terms point to this page: GIfts For Men Nothing onsite or technically has changed, and there is consistently new content in the form of products being added almost daily. We hit a manual action back in October of last year and I'm concerned that the toxic links (that we didn't create mind you) we disavowed may have been unnaturally boosting this page and now we're dropping significantly because they're gone. Any ideas on how we can curb this concerning trend? Thanks a lot
Intermediate & Advanced SEO | | TheGreatestGoat0 -
Showing Different Content To Members & Non-Members/Google and Cloaking Risk
How do we safely show logged-in members/Google one type of content on a page and logged out/non-members another kind of content without getting slammed for cloaking? Right now we do this thing where we show Google everything on the page, but new visitors partial forum comments with the pitch to sign up and see full comments. So far, we have not gotten into trouble for this. The new idea is to show non-members a lot of marketing messages and one kind of navigation and then once they sign up and are logged in, show different or no marketing messages and a different kind of navigation. How do we stay out of trouble with this? Where is the cloaking line drawn? It's got me kinda nervous. Thanks... Darcy
Intermediate & Advanced SEO | | 945010 -
4 websites with same content?
I have 4 websites (1 Main, 3 duplicate) with same content. Now I want to change the content for duplicate websites and main website will remain the same content. Is there any problem with my thinking?
Intermediate & Advanced SEO | | marknorman0 -
Is this duplicate content?
My client has several articles and pages that have 2 different URLs For example: /bc-blazes-construction-trail is the same article as: /article.cfm?intDocID=22572 I was not sure if this was duplicate content or not ... Or if I should be putting "/article.cfm" into the robots.txt file or not.. if anyone could help me out, that would be awesome! Thanks 🙂
Intermediate & Advanced SEO | | ATMOSMarketing560 -
Should I do something about this duplicate content? If so, what?
On our real estate site we have our office listings displayed. The listings are generated from a scraping script that I wrote. As such, all of our listings have the exact same description snippet as every other agent in our office. The rest of the page consists of site-wide sidebars and a contact form. The title of the page is the address of the house and so is the H1 tag. Manually changing the descriptions is not an option. Do you think it would help to have some randomly generated stuff on the page such as "similar listings"? Any other ideas? Thanks!
Intermediate & Advanced SEO | | MarieHaynes0 -
Is there a development solution for AJAX-based sites and indexing in Bing/Yahoo?
Hi. I have outlined a solution for an AJAX-based site in order to rank preserve indexing and rank in Google using the hashbang. I'm curious if anyone has some insight for doing the same for Bing/Yahoo! (a development question)
Intermediate & Advanced SEO | | OveritMedia0