如何在WordPress中将带有“ID”的编辑url更改为带有“slug”的编辑url

hk8txs48  于 2022-10-04  发布在  WordPress
关注(0)|答案(0)|浏览(94)

我有这是WordPress帖子的编辑URL:

https://example.com/wp-admin/post.php?post=ID&action=edit

我想将其更改为slug,而不是ID,如下所示:

https://example.com/wp-admin/post.php?post=Slug&action=edit

我试图用这个URL编辑这篇帖子,但没有奏效:

https://example.com/wp-admin/post.php?post=MyPostSlug&action=edit

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题