The goal of URL statization is to be more friendly to search engines and users. Although Google has previously published a blog post on its official blog that allows it to capture dynamic pages well, and also strongly encourages websites to adopt the form of dynamic pages to build websites, what we need to do is not only to face Google, but also to enable other search engines to capture them well, while making users feel better, Therefore, it is still recommended to adopt the form of static web pages for website building, while in fact, static web pages are relatively easy to achieve good rankings.
To understand this issue, we must first understand several basic concepts;
1、 What is the URL?
URL is a unified resource locator, a concise representation of the location and access method of resources that can be obtained from the Internet. It is the address of a standard resource on the Internet. Every file on the Internet has a unique URL that contains information indicating the location of the file and how the browser should handle it. That is, URLs are essential for netizens to search for resources, obtain information, communicate via E-mail, and communicate online in the Internet knowledge ocean. It was originally invented by Tim Berners Lee as an address for the World Wide Web. It has now been compiled by the World Wide Web Alliance as the Internet standard RFC 1738.
“The scheme adopted by the URL is indicated, followed by a colon (:), and the scheme description section () that follows depends on the previously adopted scheme.”. The scheme name can consist of a series of characters, including lowercase letters “a” – “z”, numbers, and the characters plus sign (“+”), period (“.”), and hyphen (“- *). For ease of use, the program interprets URLs based on the equivalence of uppercase and lowercase characters (such as http, which is equivalent to HTTP).
Specifically, the commonly used URL formats are as follows:
Protocol type://Server address [: Port number]/Path/File name [Parameter=value]
The [] portion of the above structure is optional. If the port number is different from the default value of the relevant protocol, the port number needs to be included. The protocol types include HTTP, MAILTO, FILE, FTP, and so on. The URL for accessing a resource on the World Wide Web using the HTTP protocol is as follows:
http://website.com/goods/search.phpterm-apple
Where website.com is the server, search.php is a script file on the server side, followed by the parameter term required for script execution, and apple is the parameter value of the corresponding term entered by the user.
In addition to the absolute form described above, you can also specify a URL relative to a specific host or a specific path on the host, such as:
/goods/search.phpterm-apple
/search.phpterm-apple
Web pages often use the relative form described above to describe navigation within a Web site or application.
2、 What are the types of URLs?
There are three common forms of url representation: static, dynamic, and pseudo static.
(1) Static Page
Advantages: Compared to the other two pages, the speed is the fastest. Not only is the loading speed the fastest, but there is no need to extract data from the database, which is fast and does not create pressure on the server.
Disadvantages: Because the data is stored in HTML, the file is very large. And the most serious problem is that all changes to the source code must be made, and even if only one place is changed, the static page of the entire site will automatically change. If a large website has more data, it will occupy a large amount of server space, and each time content is added, a new page will be generated.
(2)Dynamic page
Advantages: The space usage is very small. Generally, websites with tens of thousands of data items may use dynamic pages with a file size of only a few megabytes, while static pages may be as small as tens of megabytes and as large as tens of megabytes. Because the data is called from the database, if you want to change some values and directly change the database, all dynamic pages will be automatically updated. This is much more beneficial than static pages.
Disadvantages: Users’ access speed is slower, why are they slower to access dynamic pages. We must start with the access mechanism of dynamic pages. In fact, our server has an interpretation engine that translates dynamic pages into static pages when users visit them, so that everyone can check the source code in the browser. This source code is the source code after the interpretation engine translation. In addition to slower access speeds, data from dynamic pages is called from within a database. If there are too many visitors, the pressure on the database can be very high. However, nowadays, dynamic programs use caching technology. However, overall, dynamic pages put a bit of pressure on the server. At the same time, websites with dynamic pages generally have higher requirements for the server, and the more people visiting the server at the same time, the greater the pressure on the server.
(3)Pseudo static
Advantages: Everyone knows that static pages have great benefits for SEO and have a small load on the server, but the disadvantage of static pages is that they cannot be updated at any time. As for the advantages of pseudo static pages, it is not easy to say. Compared to dynamic pages, pseudo static pages have no speed improvement. In comparison, because they are “fake” static pages, they are still dynamic pages, and they also need to be translated into static pages. The biggest benefit is to let search engines treat their web pages as static pages.
Disadvantages: From the name above, we can see the shortcomings. “Pseudostatic” is actually “pseudo static”. Will search engines treat it as a static page? This is just our analysis based on experience and logic, and it is not necessarily accurate. Perhaps the search engine directly regards it as a dynamic page, and we have made so much effort, but nothing has actually been achieved.
3、 Why should URLs be static?
After understanding the main types, advantages, and disadvantages of URLs, we can easily understand why most SEOs nowadays need to treat URLs as pseudo static?
Previously, search engine spiders did not like crawling dynamic URLs due to technical issues. Too many parameter codes would cause search engine spiders to fall into an unlimited loop, and duplicate pages would continue to include crawling. Therefore, a few years ago, search engines did not like dynamic website links very much. “Because such links are prone to falling into a dead cycle or crawling a large number of links with the same content, the most typical example is the perpetual calendar. If a website is archived according to time and does not undergo static or pseudo static processing, search engines will always click along the perpetual calendar when crawling, forming a dead cycle.”. In fact, when we look at it, we intuitively know that this is a perpetual calendar, but the search engine does not. It faces only a piece of code, and sometimes it may not be able to determine whether it is a perpetual calendar;
URL pseudo static solves the problems of static web pages that are difficult to maintain and dynamic web pages that are not friendly. Combining the advantages of the two, on the one hand, it is relatively friendly to search engines and users, and on the other hand, it is relatively convenient to maintain. Currently, programs can often achieve pseudo static through pseudo static rules, but there is also a disadvantage, which is that it consumes relatively large CPU resources.
The goal of URL statization is to be more friendly to search engines and users. Although Google has previously published a blog post on its official blog that allows it to capture dynamic pages well, and also strongly encourages websites to adopt the form of dynamic pages to build websites, what we need to do is not only to face Google, but also to enable other search engines to capture them well, while making users feel better, Therefore, it is still recommended to adopt the form of static web pages for website building, while in fact, static web pages are relatively easy to achieve good rankings.