The URL static technology of SEO optimization knowledge

Source: Internet
Author: User

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

Although many webmaster do SEO this line also very long, but there are many people do not know what is the URL static, why to do URL static and how to do a good job URL static. Today small make time to write an article about the static URL of the knowledge and the vast number of webmaster to share!

First, we're going to talk about why we're doing URL statics.

  

We know that most of the sites are now used by the database-driven, the page is generated by some open source program, rather than a completely by the webmaster purely hand-edited static HTML files. When our users visit the site, the site program automatically according to the parameters provided in the URL to call the data inside the database, resulting in the content of the site. Speaking of which everyone has been very clear, the URL of the site is now the initial state is dynamic. Search engine in the early stages of development is not like dynamic URLs, because these dynamic URLs easy to let spiders into the wireless repeat cycle, which contains a large number of duplicate pages. So the search engine on the dynamic URL is a distance, to make our website page is a perfect collection, this will be our webmaster to do the dynamic URL static!

Second, let's talk about how to statically URL

For URL static, most of the webmaster is the most commonly used method is to use the server URL rewrite module. The Mod_rewrite module is typically used in the server (linux+apache+mysql+php), so what is the URL rewrite code based on? That's clear. The dynamic URL structure of each site is different, the server settings will be different, Naturally I we need the code is also different, we should remember to write Web site URL Static code must be careful, wrong a character may make your site into a tragedy.

In contrast, our code approach is more practical, but there is no fundamental solution, because we are talking about static URL can not be completely static, can only be called "pseudo-static", the server does not exist in the corresponding HTML, the user saw the page or dynamically generated, It's just that the Web site looks static. And for the search engine, pseudo static and real static is no difference, so we do pseudo static is good.

  

So does the URL really need to be static?

Although with the development of the search engine, these few years domestic more famous search engine technology has also updated a lot, a URL contains several parameters can also be included, the weight of the site even more than a few parameters will be included. Then some webmaster will smell, since can be included, then we still need to do URL static? In fact, for the general webmaster, or need to do URL static, after all, this technology can improve the user experience, reduce the difficulty of the site included.

Small series suggest that we still have to do a URL static, because after all, not all search engines can crawl any dynamic URL, and unless the static is done wrong, otherwise the general situation is not a page error clutter and other negative factors, users more easily see the static Web site URL, Because of this, users will be more clearly aware of what column they are in, what kind of information they are viewing. (article from: http://www.pbeix.com reprint please keep the link Oh!)

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.