Permalink change each post update in wordpress

ε祈祈猫儿з 提交于 2019-12-07 13:30:27

Read this

http://codex.wordpress.org/Using_Permalinks

Or

function wp_unique_post_slug( $slug, $post_ID, $post_status, $post_type, $post_parent ) {

if($slug!=""){
  $random=rand(11111,99999); //I needed 5 digit random
  $slug = $random;
}
return $slug;

}

You would like to try this plugin.

http://wordpress.org/extend/plugins/custom-permalinks/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!