Home  >  Article  >  Development Tools  >  How to change the URL suffix in gitee

How to change the URL suffix in gitee

PHPz
PHPzOriginal
2023-03-31 09:19:591214browse

If you are a programmer, I believe you must have used Gitee. As one of the largest open source hosting platforms in China, Gitee has always been a popular place for programmers. However, recently, Gitee has made a major change, that is, changing the URL suffix. This change is undoubtedly a major and influential change for the majority of programmers. This article will analyze this change from multiple aspects.

First of all, we need to know what the original URL suffix of Gitee is. Before that, let's briefly introduce the basics of URLs. The full name of URL is Uniform Resource Locator, which is translated into Chinese as Uniform Resource Locator. On the Internet, the web addresses we use to access various websites are URLs. The URL consists of multiple parts, as shown below:

scheme://host:port/path?query#fragment

Among them, scheme represents the protocol used when requesting resources, such as http, https, ftp, etc.; host represents the domain name or IP address of the server, and port represents access to the server. The port number of the server (generally omitted); path represents the path of the resource on the server, query represents the request parameter, and fragment represents the fragment identifier (generally omitted).

The original URL suffix of Gitee is .gitee.io. For example, the original address of my blog homepage is https://xxx.gitee.io. In a recent upgrade, Gitee changed its URL suffix. The new URL suffix is ​​pages.dev. In other words, the address of my blog homepage now becomes https://xxx.pages.dev. From this point, we can see that this change of Gitee is mainly to be consistent with other major manufacturers. For example, the URL suffix of GitHub Pages is the same pages.dev.

Secondly, let’s take a look at the impact of Gitee changing the URL suffix. First of all, for the majority of programmers, this change has brought some inconvenience, because if the website originally hosted on Gitee needs to change the URL suffix, then the domain name resolution configuration of the website needs to be modified. For programmers who are not familiar with domain name resolution, this may take some effort to do.

In addition, for users who use Gitee to mirror GitHub Pages, this change will also have a relatively large impact. It is understood that there are still a few users who are unable to use the pages.dev domain name normally due to DNS resolution and other issues, and Gitee does not provide dual-line services for the two domain names. gitee.io and pages.dev. This means that once a user cannot access the pages.dev domain name, they will not be able to access it through the .gitee.io domain name.

Finally, let’s take a look at the significance of Gitee changing the URL suffix. For Gitee, changing the URL suffix is ​​a natural change. After all, the same URL suffix as GitHub Pages can reduce the cost of use for programmers, and it can also make it more convenient to work with other major manufacturers. For programmers, a more unified URL suffix is ​​also conducive to resource sharing and exchange. In addition, for Gitee, changing the URL suffix is ​​also a means to benefit product competition. It can better attract users who like to use the pages.dev domain name.

To sum up, Gitee’s change of URL suffix is ​​a major and influential change. Although this change has brought some inconvenience, it also provides programmers with a more convenient and unified experience. We hope that Gitee can better serve users with this change and bring a better experience to programmers.

The above is the detailed content of How to change the URL suffix in gitee. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn