更新时间:2023-12-06 07:59:10
如果要从网址中删除/category/
,请执行以下两个步骤:
If you want to remove /category/
from the url, follow these two steps:
/%category%/%postname%/
.
/%category%/%postname%/
.
保存它,您将看到URL更改为以下格式: http://yourblog.com/quotes/
Save it and you’ll see your URL changed to this format: http://yourblog.com/quotes/
(来源: http://premium.wpmudev.org/blog/daily-tip-quick-trick-to-remove-category-from-wordpress-url/)