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
-
Site migration/ CMS/domain site structure change-no access to search console
Hi everyone, We are migrating an old site under a bigger umbrella (our main domain). As mentioned in the title, We'll perform CMS migration, domain change, and site structure change. Now, the major problem is that we can't get into google search console for the old site. The site still has old GA code, so google search console verification using this method is not possible, also there is no way developers will be able to add GTM or edit DNS setting (not to bother you with the reason why). Now, my dilemma is : 1. Do we need access to old search console to notify Google about the domain name change or this could be done from our main site (old site will become a part of) search console 2. We are setting up 301 redirects from old to the new domain (not perfect 1:1 redirect ). Once migration is done does anything else needs to be done with the old domain (it will become obsolete)? 3.The main site, Site-map... Should I create a new sitemap with newly added pages or update the current one. 4. if you have anything else please add:) Thank you!
Intermediate & Advanced SEO | | bgvsiteadmin0 -
How to 301 Redirect /page.php to /page, after a RewriteRule has already made /page.php accessible by /page (Getting errors)
A site has its URLs with php extensions, like this: example.com/page.php I used the following rewrite to remove the extension so that the page can now be accessed from example.com/page RewriteCond %{REQUEST_FILENAME}.php -f
Intermediate & Advanced SEO | | rcseo
RewriteRule ^(.*)$ $1.php [L] It works great. I can access it via the example.com/page URL. However, the problem is the page can still be accessed from example.com/page.php. Because I have external links going to the page, I want to 301 redirect example.com/page.php to example.com/page. I've tried this a couple of ways but I get redirect loops or 500 internal server errors. Is there a way to have both? Remove the extension and 301 the .php to no extension? By the way, if it matters, page.php is an actual file in the root directory (not created through another rewrite or URI routing). I'm hoping I can do this, and not just throw a example.com/page canonical tag on the page. Thanks!0 -
Duplicate content - how to diagnose duplicate content from another domain before publishing pages?
Hi, 🙂 My company is having new distributor contract, and we are starting to sell products on our own webshop. Bio-technology is an industry in question and over 1.000 products. Writing product description from scratch would take many hours. The plan is to re-write it. With permission from our contractors we will import their 'product description' on our webshop. But, I am concerned being penalies from Google for duplicate content. If we re-write it we should be fine i guess. But, how can we be sure? Is there any good tool for comparing only text (because i don't want to publish the pages to compare URLs)? What else should we be aware off beside checking 'product description' for duplicate content? Duplicate content is big issue for all of us, i hope this answers will be helpful for many of us. Keep it hard work and thank you very much for your answers, Cheers, Dusan
Intermediate & Advanced SEO | | Chemometec0 -
How to contact others for sharing my content ?
Hello 🙂 please can someone tell me how and in what way I can contact other websites related to my site and asking them, can they write a article or similar about my content . And can they link to me, quote me in their articles Or how to take my content to these other blogs, sites and show it off to them ? Thank you
Intermediate & Advanced SEO | | Ivek990 -
How to best handle expired content?
Similar to the eBay situation with "expired" content, what is the best way to approach this? Here are a few examples. With an e-commerce site, for a seasonal category of "Christmas" .. what's the best way to handle this category page after it's no longer valid? 404? 301? leave it as-is and date it by year? Another example. If I have an RSS feed of videos from a big provider, say Vevo, what happens when Vevo tells me to "expire" a video that it's no longer available? Thank you!
Intermediate & Advanced SEO | | JDatSB0 -
Looking for suggestions on email outreach title/content
Hello, We created a "How to choose a product" PDF that we are marketing to resource pages and blogs in four appropriate niches. It's good, unique content that's useful.The PDF has it's own non-commercial page. We will be doing email outreach with buzzstream. Is it important to never ask for a link in the first email? We're offering one of the following four in exchange for the link (they get to choose one): 1. A link back on one of our other sites in the same niche (not reciprocal link) 2. $100 in adwords traffic including up to 20 keywords. 3. Facebook share of their URL 4. Tweet of their URL Let me stop there and see what your feedback is. We're looking for (about) how many emails to send out building relationships before making the above offer. Or is there some way to make the offer immediately? Also, what makes a good subject line? Rand seems to indicate that you can make the offer right away in this whiteboard friday but every other article and video I've watched have said to build a relationship first. Any help is appreciated. We'll be writing all completely custom, researched outreach emails, carefully crafted.
Intermediate & Advanced SEO | | BobGW0 -
Which duplicate content should I remove?
I have duplicate content and am trying to figure out which URL to remove. What should I take into consideration? Authority? How close to the root the page is? How clear the path is? Would appreciate your help! Thanks!
Intermediate & Advanced SEO | | Ocularis0 -
Ajax Content Indexed
I used the following guide to implement the endless scroll https://developers.google.com/webmasters/ajax-crawling/docs/getting-started crawlers and correctly reads all URLs the command "site:" show me all indexed Url with #!key=value I want it to be indexed only the first URL, for the other Urls I would be scanned but not indexed like if there were the robots meta tag "noindex, follow" how I can do?
Intermediate & Advanced SEO | | wwmind1