wordpress中跳转URL中文部分全是乱码
如:
解决办法:
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 <IfModule mod_mime.c> AddCharset utf-8 .atom \ .bbaw \ .css \ .geojson \ .js \ .json \ .jsonld \ .manifest \ .rdf \ .rss \ .topojson \ .vtt \ .webapp \ .webmanifest \ .xloc \ .xml \ .swf </IfModule>
然后清除下浏览器缓存
原创文章,作者:EQJDY,如若转载,请注明出处:http://www.wangzhanshi.com/n/10667.html