Home > CMS Tutorial > WordPress > body text

Is the Chinese fixed link bad in WordPress?

藏色散人
Release: 2019-07-27 10:45:33
Original
3247 people have browsed it

Is the Chinese fixed link bad in WordPress?

Isn’t it good to have a Chinese fixed link in wordpress?

The answer is no.


When setting up fixed links in wordpress, you should try to pay attention to the following points:

1. Don’t let The date appears inside the permalink.

2. Do not let category links appear in fixed links.

3. The link should not be too deep.

4. Do not include Chinese characters in the link.

5. You can add a .html at the end of the article. Firstly, the pseudo-static URL is easy to be included by search engines. Secondly, users are accustomed to the article URL containing .html.

6. Although search engines can recognize Chinese links, from an optimization perspective, it is not recommended to use Chinese.

7. Usable parameters:

%year%:日志发表的年份,如2009
%monthnum%:日志发表的月份,如05
%day%:日志发表的日期,如28
%hour%:日志发表的时间(小时),如15
%minute%:日志发表的时间(分钟),如43
%second%:日志发表的时间(秒),如33
%postname%:文章名。
%post_id%:日志ID,如423
%category%:分类名称的缩略版本(添加新分类/编辑界面上的分类别名)。嵌套的子分类会作为嵌套子目录出现在URI中。出于运行方面的考虑,不推荐以%category%作为固定链接的起始部分。
%tag%:标签名称的缩略版本(添加新标签/编辑界面上的标签别名)。出于运行方面的考虑,不推荐以%tag%作为固定链接的起始部分。
%author%:作者名称的缩略版本。
Copy after login

Therefore, several fixed links recommended by WordPress are not ideal. I personally recommend using:

/%post_id%.html

This kind of fixed link URL of article id is very short, easy to remember, easy to use, and easy to copy the URL. And when there are too many articles, you don’t have to worry about URL duplication. It is highly recommended that you choose this wordpress fixed link URL format.

It’s best to think about the fixed link format you want before building your website. After all, you can’t change it easily after you choose it.

Is the Chinese fixed link bad in WordPress?

Note: After the website is online, do not modify the fixed link style easily!

For more WordPress technical articles, please visit the WordPress Tutorial column!

The above is the detailed content of Is the Chinese fixed link bad in WordPress?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template