九分地,虽不多,但足矣
www.9fendi.com

WordPress中文链接自动转拼音插件:SO Pinyin Slugs

SO Pinyin Slugs

WordPress后台的设置>固定连接可以设置为文章名,也就是%postname%,如图:

WordPress中文链接自动转拼音插件:SO Pinyin Slugs

如果选择的是以上几种包含文章名的链接,那么如果文章标题为中文的话,链接默认也是中文的,但是复制到浏览器地址栏后中文会变成一堆乱码,并且在个别服务器下,中文链接不被支持,会出现404错误。虽然后台是可以手动修改链接的,但是每次修改是一件很繁琐的事情,所以推荐一款插件,可以自动替换中文链接中的中文为拼音SO Pinyin Slugs

SO Pinyin Slugs插件可以在输入文章标题后自动将中文转成拼音,简单快捷方便:

  • 第一次输入标题,稍等几秒就可以自动翻译好了;
  • 如果修改了标题,发布或保存文章的时候也会自动更新翻译;
  • 如果手动编辑了翻译的结果,也可以保留你的自定义修改,即使保存或发布文章,都不会改变;
  • 标点符号、空格都会自动使用 – 替换,非常智能,字母、数字会保留
  • 中文标签链接也能自动转换成拼音链接

插件安装

SO Pinyin Slugs插件可以在wordpress后台插件直接搜索名字安装,或者下载手动安装,下载地址:https://wordpress.org/plugins/so-pinyin-slugs/

SO Pinyin Slugs 设置

 

赞(0)
9Fendi Blog » WordPress中文链接自动转拼音插件:SO Pinyin Slugs
分享到: 更多 (0)

评论 1

  1. #1

    Hello there,

    My name is Aly and I would like to know if you would have any interest to have your website here at 9fendi.com promoted as a resource on our blog alychidesign.com ?

    We are in the midst of updating our broken link resources to include current and up to date resources for our readers. Our resource links are manually approved allowing us to mark a link as a do-follow link as well
    .
    If you may be interested please in being included as a resource on our blog, please let me know.

    Thanks,
    Aly

    Aly Chiman3个月前 (12-06)回复