Change default wordpress author link

Posted code-is-poetry

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Change default wordpress author link相关的知识,希望对你有一定的参考价值。

God,I need to confess that I hate it when it comes to a chinese user_login with wordpress!


Whenever a user tries to edit and update his profile, the user_nicename(which is so important because wordpress use it as the slug in an author link) will mysteriously slip away.Tried so many workarounds in vail.


I guess you just can't let user edit his profile in front-end when a chinese user_login is around!


So I really need to change the default behaviour of the author link.But It's easy said than done!


Finally inspired by a plugin called edit author slug ,I came up with this http://wordpress.stackexchange.com/questions/252920/wordpress-404-not-found-after-rewrtie-the-author-link/252944#252944


So I just make user_id be the user_nicename and now my author link looks sth like /user/user_id and every body is happy!

以上是关于Change default wordpress author link的主要内容,如果未能解决你的问题,请参考以下文章

WordPress前台显示英文,后台显示中文插件 Simple Admin Language Change

change your default system opening option using Ubuntu

How to change default used version of Qt/qmake?

WordPress将文章更改为文章;

centos7 change default interface name to eth0

How to Change Default Location for Outlook Data File (PST & OST)