尝试访问包含日文字符的网址时收到此消息(示例=>(http://www.example.com /部长)):
Bad Request
Your browser sent a request that this server could not understand.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
使用WordPress 3.9.1。管理员全部用英语。
在wp-config.php中
define('WPLANG');
我的.htaccess
AddHandler application/x-httpd-phpcgi .php
<files load-styles.php>
AddHandler application/x-httpd-php .php
</files>
# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
# END W3TC Browser Cache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
答案 0 :(得分:0)
我刚刚写信支持&amp;得到他们的答复⬇
We do not support Japanese characters in the website name or URL. So, you cannot access it.