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
-
Country Redirect Javascript
We are building a new site on .com and wish to redirect traffic from US to a dedicated US-specific version of the homepage , whereas international traffic will go to the standard homepage. We acknowledge the problems of IP redirection and googlebot crawling from US. So instead we are considering a Javascript pop-up if we recognise a US visitor (based on IP) which asks the user if they wish to view the US version or International version. We will store cookie of preferred selection for future visits. Within the site we will have a US/International selector. Can Moz community members confirm this is the best approach? Thanks
Intermediate & Advanced SEO | | bjalc20110 -
SEO - is it site or page
Hi When we're talking about SEO does the search engine only look at the whole site in general or do they look at the individual page when we're talking about SERP? So if you have a keyword "my search term" Does the search engine look at the site first or the page with the term on then rank you or is it the page then the site.
Intermediate & Advanced SEO | | Cocoonfxmedia0 -
International SEO Question
_The company I work for has a website www.example.com that ranks very well in English speaking countries - US, UK, CA. For legal reasons, we now need to create www.example.co.uk to be accessible and rank in google.co.uk. Obviously we want this change to be as smooth as possible with little effect on rankings in the UK. We have two options that we're talking through at the moment - Use the hreflang tag on both the .com and the .co.uk to tell Google which site to rank in each country. My worry with this is that we might lose our rankings in the UK as it will be a brand new site with little to no links pointing to it. 301 redirect to the .co.uk based on UK IP addresses. I'm skeptical about this. As a 301 passes most of the link juice, I'm not sure how Google would treat this type of thing - would the .com lose ranking? So my questions are - would we lose ranking in the UK if we use option 1? Would option 2 work? What would you do? Any help is appreciated._
Intermediate & Advanced SEO | | awestwood0 -
If I hired you/your company to do my SEO ...
If i hired you or your company to do SEO for my site (http://goo.gl/XUH3f) what would be the first steps you'd take? I'm pretty sure i've covered all of the basics myself, I'm just left trying to figure out what i should do next... rankings have been going up and down for the last few weeks, but even when they're up, they're not high enough 🙂 (and then they go back down anyway) ... I know some of you are going to say build links, please at least give me an example of one or two sites you'd try to get to link to mine... I'm open to any advice or feedback as I'm just a website owner who's been doing their own SEO & learning on the fly... Thanks a lot!
Intermediate & Advanced SEO | | Prime850 -
Victim of negative SEO
Hello, I'm one of those people that got the "unnatural links" message from google. Since i run my site from the very first day and always was a one man business i know all the ins and outs of the website.
Intermediate & Advanced SEO | | Henkiepenkie
Basicly i have never ever used a seo company to submit my site anywhere.
Never ever i used any shady tactic to get better ranks.
The only thing i did was trading traffic/links with real active websites, being daily updated, high traffic, etc etc. So. After i got notified in webmaster tools i started digging into a list (provided by webmaster tools) to find out why i got this message (meanwhile i lost 75% of my se traffic in past 3 months) After searching for hours i found out that in the past 2 / 3 months my site has been spammed on about 150 forums (completely dead forums with nothing but spam on it) There was no logic at all since my site got linked with the most ridiculous and unlogical word phrases.
My site is adult related and all spam links contained word phrases like "bangladesh mobile" or "rock girl" or "animal abuse" or "ringtones" etc etc. if i ever would be so stupid to start spamming my 7 year old strong business i would at least use titles that would make sence. anyway.
I can't do nothing about these forums, i don't own them, i can't erase them and if there are any owners, they simply don't respond.
I made a list of all the forums and send it to google but the only response they come up with is "there are still unnatural links". I hardly believe they did anything with that list i send them. I don't know what else i can do and was hoping that somebody could advice me on what to do here besides sending google messages on a daily base. cheers0 -
The SEO process...step by step
In what order do you carry out your SEO? do you start with keyword research or competitor analysis or is it on-page and then on to link building, do you concentrate on article submissions and then move on to social networking? List your step by step process here.
Intermediate & Advanced SEO | | IPIM0 -
SEO question
Hi i changed my page titles for a competitive keyword last week and noticed it has dropped 9 search engine ranking positions. Was ranking 37 and now it 46. Would you guys leave it and see if it starts creeping back up or change again? the page title i used was across my pages for example was Primary keyword | secondary keyword | Heading on page thanks for you help
Intermediate & Advanced SEO | | wazza19850