Javascript bad for SEO?
-
If we utilize javascript to pull information from a database to display on a site, is that bad for SEO? Can search engines still see the data?
-
That would be bad for SEO, and search engines would not likely index the content. It's possible, but not likely. I am working with a site that has done this exact thing, and the content is not indexed.
-
If its on page JavaScript and it is pulling data from database dynamically, than this is bad. However, if the request is made and JavaScript is running on the server it will output data as a plain text. This is Good. Google is looking for content. So when you view source all you will see is text that server side script produced. Try to keep on page data clean and do data gathering on the server side. This will speed up the page load and improve user experience.
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
-
Express js and SEO?
Hi fellow Mozzers, I have been tasked with providing some SEO recommendations for a website that is to be built using express.js and Angular. I wondered whether anyone has had any experience in such a framework? On checking a website built in this and viewing as a GoogleBot etc using the following tools it appears as though most of the content is invisible: http://www.webconfs.com/search-engine-spider-simulator.php http://www.browseo.net/ Obviously this is a huge issue and wonder if there are any workarounds, or reccomendations to assist (even if means moving away from this - would love to hear about it)
Technical SEO | | musthavemarketing2 -
I'm looking for a good SEO
I need someone that can help me with my SEO. I am too busy to do it and the last person that did it, I really feel didn't do a good job. Please message me (If that is possible). I am looking for on-page, probably disavowing a good bit of links, and anything else that someone can point me in the right direction to do. I'm having some pretty major issues with my guy right now and I just feel like my rankings are falling off of the map because of it. Thanks!
Technical SEO | | Veebs0 -
Have hostings location an impact on SEO
Hello everybody 🙂 I know, that some years ago it was important that you host your site in the same country where your target audience was in relation to SEO. Because Google used that to find out which country your target audience was. But is this still important and have it an influence today regarding to SEO? Hope there is someone who can help 🙂
Technical SEO | | JoLinda910 -
All in One SEO weirdness
For some reason, I'm getting extra words in my title tags. For example, I wrote "Washing Machine Widgets | Acme Widgets, Inc. | Acme Widgets Inc. Anyone have any idea why I'm getting the extra " | Acme Widgets Inc."? Thanks!
Technical SEO | | PGD20110 -
Does Quantcast interfered with SEO?
Quantcast (http://www.quantcast.com/), a stats program was removed from my clients website because the former SEO consultant said it interefered with his SEO efforts, claiming the google bots weren't reading it right. I have never heard of that before and my client now wants Quantcast back on their website. Has anyone heard of this problem with Quantcast?
Technical SEO | | StreetwiseReports0 -
Prevent Google Web Preview bot from seeing pop-up,m bad for SEO?
Hey guys, On our website, we have a lightbox pop-up showing an external page with an e-mail newsletter signup form. It it shown to some 5% of our visitors and works with a cookie to prevent the popup from showing at each visit. Recently, I saw the popup displayed in the Google SERP instant preview, for every page. The preview looks messed up. We could prevent the popup to be shown to the google web preview bot by blocking this user agent. Question is: Will it hurt our SEO? Because we show the web preview bot (not the crawl bot) something different than what a visitor may see BQrS7 BQrS7.jpg
Technical SEO | | Webprint0 -
Hiding text with Javascript and a more button
I am considering putting a block of text on may pages, that initially appears as a snippet with a 'show more' button that expands to show the whole lot. Question: If the search engines can see the whole lot, but the visitor only sees the snippet until they click 'show more' then is this cloaking? Is it a really bad idea? Or can I get away with it because I am not being deceptive just improving the design? Help!
Technical SEO | | mascotmike0