标签: php wordpress custom-post-type permalinks
我想为自定义帖子类型页面创建自定义网址。 最近,我将自定义帖子显示为http://example.com/?post_type=movie的列表页面。 我想将此链接更改为http://example.com/movie。所以,我想知道在wordpress中更改此链接的方法。感谢
http://example.com/?post_type=movie
http://example.com/movie
答案 0 :(得分:0)
从管理面板更改永久链接。 在永久链接设置中选择帖子名称选项 - 即 帖子名称http://www.example.com/sample-post/
http://www.example.com/sample-post/