### [一招解决wordpress URL中文乱码问题](https://www.prosaas.cn/article/8161) **Published:** 2021-12-02T07:03:03 **Author:** 5201314 **Excerpt:** 下面由WordPress教程栏目给大家介绍解决wordpress URL中文乱码问题的方法,希望对需要的朋友有… 下面由**WordPress**教程栏目给大家介绍解决wordpress URL中文乱码问题的方法,希望对需要的朋友有所帮助! **wordpress URL出现中文乱码怎么解决?** wordpress中跳转URL中文部分全是乱码 如: ![](//zhiqipro.oss-cn-beijing.aliyuncs.com/2023/12/20231212130923590.png) **解决办法:** apache配置,文件里有apache的说明地址,这一段可以加在这些上下文中,server config, virtual host, directory, .htaccess AddDefaultCharset utf-8 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Serve the following file types with the media type \`charset\` # parameter set to \`UTF-8\`. # # https://httpd.apache.org/docs/current/mod/mod\_mime.html#addcharset AddCharset utf-8 .atom \\ .bbaw \\ .css \\ .geojson \\ .js \\ .json \\ .jsonld \\ .manifest \\ .rdf \\ .rss \\ .topojson \\ .vtt \\ .webapp \\ .webmanifest \\ .xloc \\ .xml \\ .swf 然后清除下浏览器缓存 ![](//zhiqipro.oss-cn-beijing.aliyuncs.com/2023/12/20231212130924882.png) 以上就是一招解决wordpress URL中文乱码问题的详细内容,更多请关注知企PROSAAS其它相关文章! **Tags:** apache, Directory, WordPress **Categories:** WordPress ---