Wordpress Codex says: 确保在结构末尾使用%post_id%
或%postname%
(例如。/%year%/%monthnum%/%day%/%postname%/
) 因此,每个permalink都指向一个单独的帖子。
但我想将我的网站的永久链接结构(以符合谷歌新闻URL指南)设置如下:/%category%/%postname%-%year%%monthnum%%day%/
因此,URL示例如下所示:
http://example.com/internet/hello-world-20120322/
但这种permalink结构似乎与《WP codex》的引述背道而驰。你看到我的自定义permalink结构有什么问题吗?请告知。