JavaScript's impact on search engine optimization and its solutions

Source: Internet
Author: User
Keywords SEO

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

In the two major search engine camp, a lot of practice proved that Baidu's handling of Javascrip is not ideal and Google's processing better.

A large number of JavaScript in the Web page will add difficulty to the search engine crawling. The main effects are as follows:

1. Interference search spider to content analysis

2. Virtually reduced keyword density

3. Affect the distribution of the weight of the page

So how to effectively avoid such a problem, JavaScript in the Web design process must be used, the solution to this problem we can only be effectively avoided and can not be completely avoided. These problems are avoided mainly from the following aspects:

1. Try not to use JavaScript pull-down menu in the navigation, this question I already mentioned in many articles, the navigation does not use the JavaScript special effect or the flash completes in order to look good, like this is extremely disadvantageous to the SEO.

2. Article content part of the link as far as possible not to use JavaScript to show, especially some sites on the production of links using JavaScript to produce div effect, so there is no substantial benefit of SEO, Should be as close as possible to the standard link. If you really have to use, you can refer to the page rewrite to achieve results, spiders are a special browser, so you still have to pay attention to the HTML source of your site.

3. As much as possible to write more than one JS file to improve page loading speed. Whether in the user experience or spider browsing, Web page loading speed to improve the SEO is good, use WP to create a blog when the profound experience, loading a merged JS than loading more than 2 JS speed will be greatly improved.

4. Try to place JS at the bottom of the page code. JS parsing needs to call multiple sets to complete, put on the bottom not only to speed up the speed of the Web page loading, but also effectively avoid spiders on the JavaScript code of a large number of analysis.

To JS Test, Google do better than Baidu, but in search engine technology is not fully adapted to JS, the site content or to try to use less JS.

Feeds Http://www.96so.com Medical Beauty net

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.