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).
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
-
Same subcategory in different main categories
Hi all, A fairly common problem in webshops is having the same subcategory in multiple main categories. Let's take the following example: example.com/legal/economic-law/company-law example.com/tax/companies/company-law I came across this interesting article on this topic: https://mza.bundledseo.com/community/q/e-commerce-site-one-product-multiple-categories-best-practice Although I understand that the answer on the above question is the most thorough method, I don't see a problem with just using canonicals either. On the webshop we are restructuring, there are only a few of these subcategories that return in multiple main categories, so generating a path via user activity and storing it in a cookie doens't seem really necessary to me. Is it ok to just use canonicals or can this cause issues? Thanks.
Intermediate & Advanced SEO | | Mat_C2 -
How good is Google at reading geo-targeted dynamic content -- Javascript?
We are using a single page application for a section of our website where it generates content based on the user's geographical location. Because Google's Search Console is searching from Virginia (where we don't have any content), we are not able to see anything render in Google Search Console. How good is Google at reading geo-targeted dynamic content? Do we have anything to worry about in terms of indexing the content because it's being served through JS?
Intermediate & Advanced SEO | | imjonny1230 -
Same content, different languages. Duplicate content issue? | international SEO
Hi, If the "content" is the same, but is written in different languages, will Google see the articles as duplicate content?
Intermediate & Advanced SEO | | chalet
If google won't see it as duplicate content. What is the profit of implementing the alternate lang tag?Kind regards,Jeroen0 -
Apps content Google indexation ?
I read some months back that Google was indexing the apps content to display it into its SERP. Does anyone got any update on this recently ? I'll be very interesting to know more on it 🙂
Intermediate & Advanced SEO | | JoomGeek0 -
What keywords should my main page contain ?
Hello. I have a domain with scripts and components for websites, each product page is somehow different and contains different phrases and keywords, for example: a) Flash Photo Gallery
Intermediate & Advanced SEO | | adrianTNT
b) JavaScript Menu
c) Flash Menu
d) PHP Rating Script
e) PHP Poll script It's kind of clear for me how to optimize keywords on these pages individually, but what would be best content / terms / keywords to use on my main page and main page title and anchor text to my root domain? Should it be a mix of all these keywords mentioned above ? Or is it better to be a general term like "website scripts" ?0 -
Issue with duplicate content in blog
I have blog where all the pages r get indexed, with rich content in it. But In blogs tag and category url are also get indexed. i have just added my blog in seomoz pro, and i have checked my Crawl Diagnostics Summary in that its showing me that some of your blog content are same. For Example: www.abcdef.com/watches/cool-watches-of-2012/ these url is already get indexed, but i have asigned some tag and catgeory fo these url also which have also get indexed with the same content. so how shall i stop search engines to do not crawl these tag and categories pages. if i have more no - follow tags in my blog does it gives negative impact to search engines, any alternate way to tell search engines to stop crawling these category and tag pages.
Intermediate & Advanced SEO | | sumit600 -
Canonical Not Fixing Duplicate Content
I added a canonical tag to the home page last month, but I am still showing duplicate content for the home page. Here is the tag I added: What am I missing? Duplicate-Content.jpg
Intermediate & Advanced SEO | | InnoInsulation0 -
First link importance in the content
Hi, have you guys an opinion on this point, mentioned by Matt Cutts in 2010 : Matt made a point to mention that users are more likely to click on the first link in an article as opposed to a link at the bottom of the article. He said put your most important links at the top of the article. I believe it was Matt hinting to SEOs about this. http://searchengineland.com/key-takeaways-from-googles-matt-cutts-talk-at-pubcon-55457 I've asked this in private and Michael Cottam told me he read a study a year ago that indicated that the link juice passed to other pages diminished the further down the page you go. But he can't find it anymore ! Do you remember this study and have the link ? What is your opinion on Matt's point ?
Intermediate & Advanced SEO | | baptisteplace0