下面由wordpress教程栏目给大家介绍解决wordpressurl中文乱码问题的方法,希望对需要的朋友有所帮助!
wordpressURL出现中文乱码怎么解决?
wordpress中跳转URL中文部分全是乱码
如:
解决办法:
apache配置,文件里有apache的说明地址,这一段可以加在这些上下文中,serverconfig,virtualhost,directory,.htaccess
AddDefaultCharsetutf-8#-----------------------------------#Servethefollowingfiletypeswiththemediatype`charset`#parametersetto`UTF-8`.##https://httpd.apache.org/docs/current/mod/mod_mime.html#addcharset<IfModulemod_mime.c>AddCharsetutf-8.atom\.bbaw\.css\.geojson\.js\.json\.jsonld\.manifest\.rdf\.rss\.topojson\.vtt\.webapp\.webmanifest\.xloc\.xml\.swf</IfModule>