JS and SEO relationship webmaster Use JS code to have degrees

Source: Internet
Author: User
Keywords Network promotion website optimization SEO

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

When we talk about SEO, I think more people may take the search engine as the first user, often in order to win the search engine's favorite, and despise the real user experience. In view of the search engine treatment of JS attitude, more people do not want to do JS. This is a misunderstanding, and this misunderstanding will bring you a negative impact on SEO. Below we have to understand the advantages of JS SEO and deficiencies.

JS is a scripting language, generally large web sites are called JS, it and HTML code, the site has a very important relationship. If JS on the search engine has an unfriendly side, I can only say that the ability of the search engine is not enough to identify JS ability.

  

JS Benefits:

1. No data interaction with the database

JS function does not need to interact with the database, thus reducing the burden on the server, but also shorten the loading speed of the Web page, said here you think of SEO it? Like, this is in line with the SEO user experience. Therefore, the use of JS effectively improve the user experience, the major search engines are also related to the user experience. So, can not generalize, the full negative JS.

2. Bring the user's favorite dynamic page

Yes, search engines like static pages. That's why I said the first thing about our first user is actually not the search engine reason, because, our real user likes is the vivid dynamic page. Just like the site has a JS tool is very much liked by users, you say, JS does not meet the user experience? And, from the current trend of search engine changes, dynamic page will be a mainstream in the future. JS can make your page move!

Finally there is a response to the user's operation, just in fact mentioned a provincial-level linkage function, in the registration we also often see some JS upgrade Ajax efficacy, such as the validation of password length and security, verification code, whether the check for empty, and so on, these work can be done to JS, Not every time the user commits like a database request, greatly reducing the load on the server.

JS deficiencies: Search engine does not recognize

This article we mainly talk about the impact of JS SEO, so frankly I think that JS seo negative impact is not very large, as long as the site does not contain too much JS, because the search engine really can not recognize such a programming language. Google and other search engines have also stressed: try to use the search engine can identify the text information, avoid too much JS, cookies and other complex technology. Yes, master a degree, you can play a greater role of JS SEO side.

Then there are a lot of webmaster entanglements, if I want to use the JS code, but also do not interfere with the search engine crawl recognition, how to do? In fact, this problem is not difficult, the important thing is: grasp a degree! Below I also divide into 3 points to discuss how to avoid this problem.

1. Do not navigate the use of JS code

Navigation and other links in the Web page is the focus of search engine crawl, when the navigation using the JS code, that is, search engine is not recognized, it will not crawl your Web page, with needless to say what ranked.

2. Do not use the article content JS code

Especially for the relevant content containing keywords, will affect the keyword density and other indicators, should try to avoid the use of JS code.

3. Cover up your JS part

JS to the search engine interference to the lowest way is to put the JS code in the bottom of the HTML code, when the spider to crawl, will finally find the JS code.

A thing usually has a good side and a bad side, reasonable use can play its maximum value. So webmaster in the use of JS code must pay attention to a degree of problem.

This article is original by Alan, reprint please indicate Jinan moving network http://www.jnbanjia.cn (share knowledge, respect copyright)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.