Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Now SEO is basically already in a wide range of applications, PHP program's corporate web site is also more and more, in fact, I have always liked to use ASP, but found that many foreign space now does not support ASP, so also studied a bit PHP, site built, of course, also want to have a good site rankings, bring traffic and sales , this article I and you summed up in the Apache server PHP site under a few SEO suggestions bar!
PHP (hypertext Preprocessor) is an open source scripting language. It absorbs many common speech syntax and characteristics, is the Web development language which most websites use at present. The SEO optimization strategy of PHP website includes keyword optimization, site map optimization, url static and URL rewriting optimization. But in these optimization must follow the major search engine Company's search principle, otherwise will be considered in the SEO cheating, so not only will not bring the site popularity and traffic, but also affect the site is included.
PHP website Keyword optimization
According to the working principle of search engines, we know that users and search engines are based on keywords to search the target site analysis. Through the analysis of these keywords and search traffic, we found that in the early development of the site keyword is the impact of the site by the search engine included a core factor, keywords to the site brought a large number of users at the same time also brought a large number of traffic, the proportion of the total site traffic flow of the majority This shows that keyword optimization for the site's traffic is critical. And the definition of the keyword must be highly relevant to the content of the site, the general site needs to be set in the following location keywords:
(1) Keywords need to appear in the label, that is, the title of the need to include keywords, but also need to ensure that different pages are not the same;
(2) Keywords should be placed in the site's label keywords and description inside, and generally only once;
(3) Site logo image of the ALT attribute can be set on the theme of the site keyword, other pictures of alt should be placed with the image of the Alt attribute, otherwise it will be the search engine think cheating;
(4) The site's directory name and filename can be set as a keyword, will be better crawled by the search engine;
(5) The content of the Web page in general place a title or content of the summary, where the need to place keywords, but the whole page is not easy to set the key words over, generally set in the label, but the content of the article should be related, otherwise it will be considered cheating.
Second, PHP site map optimization
Site Map optimization also called site navigation optimization commonly known as sitemap. First site map for site visitors to identify the direction and path to visit the site, clearly tell the site visitors the site layout and content, to the site visitors a friendly experience. The user experience is good, then his next visit to the site will be greatly improved, followed by the search engine spiders are also very like the site map. So do a good job Site map SEO, for the site is very important.
(1) For PHP sites, the general use of XML-formatted site map. The site map is stored in an XML file in the root directory, and you will find a file at the bottom of many websites. For example: Www.xxx.com/sitemap.xml, which is a list of links on a Web site. Make a concise and efficient site map, you can quickly browse the entire site for the Search Engine window, and included the entire content of the site.
(2) Generally in the footer of the site to add a keyword, and point to the corresponding content page.
Third, PHP website URL address optimization
URL address optimization includes URL address static (also known as pseudo static) and URL address to two aspects. According to search engine principle, static page is more conducive to search engine crawl included. Now most of the sites are dynamic pages, such as the PHP site discussed in this article is a dynamically linked page. Then we need to take steps to convert PHP dynamically generated pages into static pages.
Iv. Static URL address
Reference) Put the link on the page, and replace the new static link. Search engines and browsers will use this link to make requests.
Article The Apache server uses "/dir/([^./]*) \.html" in httpd.conf or. htaccess to implement a new rewrite rule that tells the Apache service what to do after this rewrite rule. This rewrite rule enables PHP-generated dynamic pages to be translated into static pages for search engines. When the search engine spider crawls to the page here, will record this new page, thus achieves the URL address optimization goal. After performing such an operation, you need to keep the original link by using the alias directive (only for the Apache server) in httpd.conf.
Statement: This article by the Zhengzhou website Company: http://www.lzrkj.com/original submission, respect for the achievements of others, reproduced please specify the source!