更新时间:2023-12-06 07:50:33
如果要从 url 中删除 /category/
,请按照以下两个步骤操作:
If you want to remove /category/
from the url, follow these two steps:
/%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/)