Can Javascript be SEO friendly?
-
Is some Javascript SEO friendly?
I know that Google Webmaster Guidelines states you should avoid the use of Javascript, (http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35769), but does any one know if Google can read some Javascript or generally not?
-
That is correct.
-
Thank you. How would you best test if Google can read the copy included in a javascript file?
Would you just use a text browser as mentioned?
-
Hi Michelleh,JavaScript is not SEO friendly. You can find this statement all over the web.
Now a days Google is much smarter at dealing with JavaScript. Google can execute some JavaScript, but not all. This effectively means that Google Spiders can read JavaScript and have become smarter at knowing which forms to execute and read, and which parts to leave alone. It seems certain that as long as websites continue to use JavaScript, Google will continue to refine its ability to read the language.
Google Spiders can read JavaScript -- but only to a limited extent. Nonetheless, Google Spiders may read and execute some of the JavaScript embedded in your XHTML or elsewhere on your site. As with most things related to how Google ranks websites and reads pages, the exact extent of how the Google Spiders crawl and use the data is unknown.
Google can now use JavaScript for indexing. For more information please refer to this link:
http://searchengineland.com/google-can-now-execute-ajax-javascript-for-indexing-99518
-
Michelleh
First, I cannot find in the link provided by you where GWMT says "Avoid the use of Javascript."
And, I do not think that is really their position. (Given they have indexed it for some time now). Here is a great description by a level 10 on GWMT:
My own opinion of JS has always been ( because it can be disabled by a browser ) that you should use it to supplement user experience, and don't rely on it to render content that's important to be seen and used.
If someone has JS enabled - great - they benefit from the useability it provides, while if someone choose not have it enabled ( fear of viruses or malware ), they still receive the intended product/service delivered to them.
So, Is it SEO friendly per se?? Don't know that it is, but do not believe it hampers SEO. If user experience is improved it would be an SEO plus.
Hope it 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
-
Why is pagination SEO such a mystery in 2021?
Hi folks. I would like to discuss pagination. I use WordPress (Genesis, specifically). I ran my site through a site scan and it flagged an error which told me that my blog was producing duplicate meta descriptions because the blog is paginated - the same meta description from the blog page is being used on Page 2, Page 3 etc. I looked into this and the Internet is awash with many other people scratching around for a solution. My understanding is that using a canonical link on the first page is not a good idea, because it says to Google that only Page 1 of the blog is important. I also read an article that states Google no longer reads the Rel=Prev/Next code that could be used to tell Google to ignore the issue. So, what's the solution? Do I even need one? As a side-thought, it seems to me that pagination is, well, pretty useless. I mean, if my blog has 20 pages and I've worked hard to create content, who is going to click through to anywhere near page 20? Nobody. There has to be a smarter way for people on-site to access content. I would love your thoughts on all of this. Cheers.
Intermediate & Advanced SEO | | Nobody16165422281340 -
SEO Value of Google+?
Hi Mozers, Does having a Google+ page really impact SEO? Thanks, Yael
Intermediate & Advanced SEO | | yaelslater1 -
SEO Migration Options
Hi Guys, We have a www.sitename.com.au domain name and looking to move into the US market, and other markets in the future such as UK, Canada, etc. We are reviewing our options. Currently the .com.au is ccTLD to Australia so won't perform well in US. It seems the best option at this stage is to get a generic domain Generic top-level domains (gTLDs) like a .com. Then create different sub-folders for each country for example: .com our main country .com/us/ target us .com/uk/ Then in Google Search Console don't set country targeting for entire domain but use Hreflang Tags to specify the targeting for each page? -- This seems like a complex strategy to execute so i just want to check if this would be a optional option? Any suggestions would be very much appreciated! Cheers.
Intermediate & Advanced SEO | | cerednicenko0 -
International Domains for SEO
My company is international and we have websites for each country with Country Code Top Level Domains (ccTLD). I am in the US and I am seeing that other countries such as Costa Rica and Germany are ranking above us in search results. I thought Google automatically geo-targeted users by default and therefore I should only get .com or US results. Any idea why other countries would rank above our site?
Intermediate & Advanced SEO | | fastlaneus0 -
SEO Site Analysis
I am looking for a company doing a SEO analysis on our website www.interelectronix.com and write a optimization proposal incl. a budgetary quote for performing those optimizations.
Intermediate & Advanced SEO | | interelectronix0 -
How can Google index a page that it can't crawl completely?
I recently posted a question regarding a product page that appeared to have no content. [http://www.seomoz.org/q/why-is-ose-showing-now-data-for-this-url] What puzzles me is that this page got indexed anyway. Was it indexed based on Google knowing that there was once content on the page? Was it indexed based on the trust level of our root domain? What are your thoughts? I'm asking not only because I don't know the answer, but because I know the argument is going to be made that if Google indexed the page then it must have been crawlable...therefore we didn't really have a crawlability problem. Why Google index a page it can't crawl?
Intermediate & Advanced SEO | | danatanseo0 -
SEO service providers overseas
Does anyone have any recommendations for overseas SEO service providers or link builders?
Intermediate & Advanced SEO | | alex10300 -
Can Anyone show me a site that has followed the seomoz seo rules
Hi i have been reading the seo information on here which is very interesting and i would like to know if anyone can point to any sites that have followed the rules and advice. It is great when you can read the info and rules but i feel it is also better to see a site that has followed the rules and to hear from people who have followed the information and put them into practice and explain what results they have got. I am currently building the following website http://www.womenlifestylemagazine.com so it would be great to see a site that has followed all the rules and who can explain if they work or not.
Intermediate & Advanced SEO | | ClaireH-1848860