The Url specification is also a very important part of SEO. Let's talk about the latest developments in search engines.
Url
SpecificationsDynamic URLs are often a headache for search engines. The author estimates that 10%-30% of URLs on the Internet are nonstandard URLs with the same content but different URLs, the most serious problem caused by this is that the search engine may set the pages with the same content as the copy pages and distribute the weights, which is not conducive to ranking, search engines are undoubtedly a waste of resources. This is what webmasters and search engines do not want to see. Recently, google, microsoft, and yahoo jointly proposed a URL specification to avoid this phenomenon. A few days ago, Google, Yahoo, and Microsoft jointly released a new canonical tag to solve the problem of URL standardization. Simply put, add the following code to the header of the HTML file: <link rel = "canonical" href = "http://www.example.com/product.aspx"/> meaning that the canonical URL of this web page should be: these URLs under the http://www.example.com/product.aspx can add this code: http://www.example.com/product.aspx? Name = swedish-fish & category = gummy-candy http://www.example.com/product.aspx? Name = swedish-fish & trackingid = 1234 & sessionid = 5678 these URLs have all become: http://www.example.com/product.aspx simply put, this label is equivalent to the 301 redirection within a page. The difference is that the user is not redirected or remains on the unchanged web site, and the search engine regards it as 301 redirection, that is to say, the weight of the page Link is concentrated on the canonicalized URL specified in the Code.
Url
Static (
Asp.net Url
Rewrite)Static URLs are relative to dynamic URLs. A dynamic URL is a parameter that appears after an address, for example, http://www.example.com/product.aspx? Name = swedish-fish & trackingid = 1234 & sessionid = 567 and after static http://www.example.com/product/name/swedish-fish/trackingid/1234/sessionid/567/ to see this address we should feel the static address may look more simple and clean, and the same, search engines also prefer static URLs. Of course, the URL after static modification must be more meaningful to avoid wasting the URL static process. Example: http://www.example.com/product.aspx? Id = 1 & category = 2 after static: http://www.example.com/product/1/2/ http://www.example.com/product/category2/title1/after the explicit static address is more meaningful than the previous one, the title, category appear in the URL. If some keywords appear in the Url, it is more meaningful for search engines. Asp. Net has many static methods, so I will not extract them and publish several connections. Remember to make your URL meaningful. Url static method connection: http://msdn.microsoft.com/zh-cn/library/ms972974.aspxhttp://blogs.iis.net/carlosag/archive/2008/09/02/iis-7-0-and-url-rewrite-make-your-web-site-seo.aspxhttp://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspxhttp://www.codeproject.com/KB/aspnet/URL-Rewriting-in-ASPNET.aspx