Home > Article > CMS Tutorial > One trick to solve the Chinese garbled problem of wordpress URL
The following tutorial column of WordPress will introduce to you how to solve the Chinese garbled problem of WordPress URL. I hope it will be helpful to friends in need!
How to solve the problem of Chinese garbled characters in wordpress URL?
The Chinese part of the jump URL in wordpress is all garbled characters
For example:
Solution:
apache configuration, the file contains the description address of apache, this paragraph can be added to these contexts, 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>
Then clear the browser cache
The above is the detailed content of One trick to solve the Chinese garbled problem of wordpress URL. For more information, please follow other related articles on the PHP Chinese website!