Whether the use of include in ASP has an impact on search engine collection

Source: Internet
Author: User
Tags contains header include
include| search engine Point Stone has a member to ask a question: excessive use of ASP such as <!– #include file= "include/footer.asp" –> on the engine included an impact? This issue has aroused popular discussion, Zac that the include should be implemented on the server side, SE does not know is include, so it has no impact on the search engine. Seo123 said that using <!– #include file= "include/footer.asp" –> had little impact on search engines, and <!– #include file= "include/header.asp"- > think that this is not a Greek to SEO.

About include, in fact, there are similar problems in PHP, but the usage is not the same, such as the use of PHP is include/xxxxx.php, the principle is similar, here only to say ASP.

If included on the search engine contains influence, then <!– #include file= "include/xxxx.asp" –> should be used cautiously, from the perspective of SEO, of course, is to want their content by search engines included and go to the good rankings. So, <!– #include file= "include/xxx.asp" –> really have an impact on the search engine?

Zac is right, the include is executed by the server side, we split the individual xxx.asp into xxx1.asp and xxx2.asp,xxx.asp renamed Xxxx.asp, and Xxxx.asp contains two include, that is, <!–# Include file= "include/xxx1.asp" –> and <!– #include file= "include/xxx2.asp" –> The results we see should be xxx.asp and xxxx.asp are the same. So in principle, using include and not using include for search engines is the same effect.

As we all know, in order to invoke and change convenience, many people will each page is the same static content such as navigation menu, the bottom of the copyright information stored in an ASP file using include call, this approach is very sensible, neither affect search engine crawl, change is also convenient. Such a situation, it is suitable for SEO123 said, the use of <!– #include file= "include/header.asp" –> is ignorant of SEO, because the header part includes the page <title> and the keywords and description of the Meta section, and this part of each page should be different, and if you use the <!– #include file= "include/header.asp" –>, the title of each page is generated, Keywords and description are the same content, so the search engine is taboo.

There is also a situation, if header.asp not every page is the same static content such as navigation menu, bottom copyright information, it contains the title, keywords and description use dynamic function tags, such as {title}, {keywords}, { Description}, this is the most CMS is the way, that is, the implementation of the results, each page title, keywords and description are different, according to each page in the background of the input, and produce the corresponding content. In this case, you can also use the include call.

With the development of technology that separates the template from the program, more CMS put function tags in the template, such as the bottom of the copyright, navigation menu and other fixed content can be used to embed a static custom tags in the template, such as dynamic custom tags, use this function to the header, nav, content, The copyright is separate and easy to modify, while the use of include calls to the CMS has become less. Of course, also use include also a few, for use include SEO colleagues, should pay attention to these problems.



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.