Home > CMS Tutorial > WordPress > Regarding the continuous issue of WordPress post IDs

Regarding the continuous issue of WordPress post IDs

藏色散人
Release: 2020-07-01 11:49:48
forward
3809 people have browsed it

The following column WordPress Tips will introduce to you the issue of WordPress article ID continuity. I hope it will be helpful to friends in need!

Regarding the continuous issue of WordPress post IDs

Recently, users always ask, why are the article IDs ranked in the thousands when there are only dozens of articles on the website? Generally, people who have this problem use this fixed link form:

/%post_id%.html
Copy after login

MaybeWordPressAt the beginning of the design, this problem was not considered, image attachments, automatic saving , drafts, etc. will occupy the ID, resulting in discontinuous article IDs. There are many tutorials on the Internet about continuous WordPress article IDs. The more classic one is this one: WordPress perfectly solves the problem of discontinuous article IDs, but there is no truly perfect solution.

One of the simpler ways to achieve continuous article IDs is to use the fixed link form:

/%postname%.html
Copy after login

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

Regarding the continuous issue of WordPress post IDs

Although it is not completely guaranteed that the IDs will be continuous, at least the ID numbers will not be too outrageous. In addition, it is only suitable for new sites, because it is a bit unrealistic to manually change the previous articles.

The above is the detailed content of Regarding the continuous issue of WordPress post IDs. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:zmingcx.com
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