Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve the problem of ID continuity in WordPress articles

Shulou Source: shulou.com Published: 2022-06-02 09:32:53 09月27日 Update

What this article shares with you is about how to solve the problem of ID continuity of WordPress articles. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

Recently, users always ask that there are only a few dozen articles on the site, why does the article ID rank to thousands of numbers? Generally speaking, people with this problem use this form of fixed link:

/% post_id%.html

Perhaps at the beginning of the WordPress design, did not consider this problem, picture attachments, auto-saving, drafts and so on will take up ID, resulting in discontinuous article ID. There are many ID continuous tutorials for all kinds of WordPress articles on the Internet, the more classic one is this one: WordPress perfectly solves the ID discontinuity problem, but there is no real perfect solution.

One of the relatively simple ways to achieve ID continuity of articles is to use fixed links:

/% postname%.html

When editing the article, change the permanent link below the title to a number, as shown in the figure:

Although ID continuity is not completely guaranteed, at least the ID number will not go too far, and it is only suitable for new sites, because it is a bit impractical to manually change the previous article.

The above is how to solve the problem of ID continuity in WordPress articles. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Tags: Articles questions links that is forms numbers methods more knowledge articles practical outrageous only pictures work meetings manual tutorials titles reality users Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi macOS Linux MariaDB Shulou Information