WordPress knowledge sharing

How to make website icon and upload it to take effect?

How to make website icon and upload it to the website to take effect? The icon of website ico is of great significance to the website. On the one hand, it is a symbolic symbol of the website. On the other hand, when the search engine collects the website, it will also take this small icon into consideration. So Weieis Blog suggests that everyone should add this small icon on their website, which is beneficial and harmless.

First, let's see the effect as shown in the figure below. Lao Wei uploaded a blank icon of ICO, which can't be seen visually, but there is actually a blank picture there. You can upload any ICO icon that matches the theme of your website.

1、 How to make website icon

1. Use PHP to create a 32 * 32 png format image. The content is your own ICO content, which is saved to the local computer desktop. The final effect must be clear. If it is ambiguous, it will be bad.

In fact, there are 16 * 16, 32 * 32, 48 * 48, 64 * 64, 128 * 128, 256 * 256 and other formats. You can only choose one.

2. Ask Du Niang to search for "ico icon making", and Old Wei casually selects the first website.

Select the original image you saved just now;

The target size remains unchanged;

Additional code: the same meaning as verification code;

Click the "Generate ICO Icon" button to save the generated icon to the local desktop.

Note that the icon size cannot be too large, which will affect the loading and opening speed of the website.

There are also many softwares on the Internet to generate ico icons or convert images into ico icons. You can try them. Lao Wei tried several such software, which is not ideal for complex graphics conversion. In addition, the size of the icon itself is also very small. If you get one responsible for graphics, the actual display effect may not be ideal.

3. The generated icon file is renamed as "favicon. ico", and the icon file is uploaded to the root directory of the website with ftp software. Most website programs will automatically recognize and read this file. In this way, the icon can be displayed normally on the title bar of the browser.

Among the search engine inclusion criteria, one item is whether the website has an icon of ICO, which serves as a reference for scoring factors. In theory, search engines will think that a complete website should have this icon. In order to personalize the website and make it easier for it to be included in search engines, everyone should hurry to make a cool icon for their website.

Like( one )
Article name: How to make website icon and upload it to take effect
Article link: https://www.vpsss.net/15369.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.