5 Minutes to Fix Chinese URL Encoding Issues: A Guide to WPSlug

A classic pain point for Chinese-language WordPress sites is this: after publishing a post with a Chinese title, the URL slug becomes an unreadable string of percent-encoded characters like %E4%B8%AD%E6%96%87. Not only does it look unprofessional, but it also harms SEO and sharing experience.

WPSlug (Wenpai Slug) solves exactly this problem — it automatically converts Chinese titles into pinyin or English translations to generate clean, human-readable URLs.

Try It in 30 Seconds

No installation required — try it instantly in your browser:

Preview WPSlug with one click →

Clicking the link opens an online WordPress environment where WPSlug is already installed and activated — ready for immediate testing.

Installation & Setup

Step 1: Install and Activate

In your WordPress admin dashboard, go to Plugins → Add New, then search for WPSlug or Wenpai Slug. Install the plugin and click Activate.

Once activated, you’ll see it listed among your plugins:

Plugin list

Step 2: Access Settings

After activation, find the settings page under Settings → Slug in the left-hand admin menu:

Settings page

Core options are clearly laid out:

  • Conversion Mode: Choose between Pinyin Conversion (for Chinese-only sites) or Translation (ideal for international audiences).
  • Auto-Convert: When enabled, slugs are generated automatically upon publishing — no manual editing needed.
  • Force Lowercase: Ensures all URLs use lowercase letters, preventing case-sensitivity issues.
  • Maximum Length: Limits slug length (default: 50 characters — sufficient for most use cases).

Step 3: Test With a New Post

Create a new post and enter a Chinese title. In the right-hand sidebar, look at the Slug field: instead of garbled encoded text, you’ll now see clean pinyin automatically generated:

Editor

For example, the title “WordPress 入门教程” becomes wordpress-ru-men-jiao-cheng.

Before vs. After

Scenario Before Installation After Installation
Post URL /wordpress-%E5%85%A5%E9%97%A8/ /wordpress-ru-men-jiao-cheng/
Category URL /%E6%8A%80%E6%9C%AF/ /ji-shu/
Tag URL /%E6%95%99%E7%A8%8B/ /jiao-cheng/

The difference is immediate and obvious.

Frequently Asked Questions

Q: Will existing posts’ URLs change?
A: No. WPSlug only converts slugs when saving new or updated posts; previously published content remains unaffected. To batch-update old posts’ slugs, use the Debug Checkbox feature on the settings page.

Q: Is WPSlug compatible with ACF Pro?
A: Yes — compatibility was fully resolved starting from v1.1.0. ACF field keys are no longer mistakenly converted.

Q: Should I choose Pinyin or Translation mode?
A: For Chinese-only sites, we recommend Pinyin — stable, reliable, and requires no external APIs. If your audience is primarily English-speaking, try the Translation mode.

Related Plugins

If you’re building a Chinese-language WordPress site, these plugins work especially well together:

  • Wenpai Avatar — Solves Gravatar loading failures in China.
  • Wenpai Fonts — Adds elegant, web-optimized Chinese fonts to your site.
  • China Starter Pack — One-click demo bundle: WPSlug + Wenpai Avatar + Wenpai Fonts.

All plugins can be tried instantly — no installation needed — at the Wenpai Playground.