My blog has been Japanese-only for years. I wanted English versions of the posts that could help readers outside Japan, but I could not afford to break the Japanese URLs that already get search traffic. I also did not want to touch the ad setup.
Short answer: install the free Polylang plugin, set the language from the directory name (/en/), and hide the language for the default language. The existing URLs stay exactly the same. Each English post simply gets its own /en/ URL. Polylang adds the hreflang links for you. I published 39 English posts this way in one night.

Tested in November 2026: Polylang 3.9.2 (free), the Cocoon theme, Jetpack.
What the free version can do
| Feature | Free | What it meant for me |
|---|---|---|
| Per-language posts, categories, hreflang | Yes | Everything I needed |
| Translating the site title and tagline | Yes | Languages → Translations |
| Same slug in both languages | Pro only | A reused slug gets "-2" added |
| DeepL machine translation | Pro only | Not needed, I rewrote the posts |
| Setting the language through the REST API | Pro only | I added a small snippet (below) |
Step 1: Back up first
Polylang assigns a language to every existing post, category, and tag. I backed up the database with BackWPup. I also exported every post through the REST API, so I could compare URLs later.
Step 2: Add your current language first
- Install Polylang, then activate it
- Under Languages, add the language your blog is already written in (Japanese for me)
- Then add English (en_US)
- Polylang offers to assign the default language to all content that has none. Accept it

The first language you add becomes the default. If English goes first, all your old posts are treated as English. Fixing that later is tedious.
Step 3: Keep the old URLs unchanged

| Setting | Value | Why |
|---|---|---|
| URL modifications | Directory name, hide language for default language, remove /language/ | Old URLs stay as they are, only English gets /en/ |
| Detect browser language | Off | Google advises against redirecting visitors to another language automatically |
| Media | Off | Both versions share the same images |
| Synchronization | All off | Syncing custom fields would copy my theme's per-post settings between translations |
After saving, I compared every Japanese URL with the backup list. None had changed. Ads showed up as before.
Step 4: Create the English posts
The post list gets a column per language. The "+" in the English column opens a new post already linked to the original. Things to watch:
- Use a different slug. In the free version, the same slug gets "-2" added. I picked slugs with the words English readers would search for
- Create English categories, then link them to the original categories as translations
- Turn off Jetpack emails for English posts. Otherwise your Japanese subscribers get English newsletters
- Remake featured images that have text on them
The site title and tagline go under Languages → Translations.
Step 5: Check hreflang and the sitemap
Open the page source of both the original post and the English post, then search for hreflang. Polylang added an alternate link for each language to both pages:
| hreflang | URL |
|---|---|
| ja | hamutetublog.com/local-ai-dashboard/ |
| en | hamutetublog.com/en/local-ai-dashboard-windows/ |
The html lang attribute on English pages became en-US. All 39 /en/ posts appeared in the sitemap. Last, I pointed links between English posts to the English versions, not the Japanese originals.
Which posts I translated
| Translated | Skipped |
|---|---|
| Posts with my own scripts and tools | Japan-only products and services |
| Problems I tracked down myself (Claude Code, local AI, robocopy) | Outdated posts |
| Posts with my own measurements, such as 8GB VRAM tests | Posts built around Japanese error messages and screens |
I did not machine-translate. Claude (the cloud version of Claude Code) rewrote each post for English readers. Japanese screenshots stayed, with captions naming the English labels. Messages inside scripts were translated. Every translated script was run end to end on my PC with dummy data before publishing.
Problems I ran into
1. English text got blocked by the server firewall (403)
My host's WAF (SiteGuard on ConoHa WING) accepted the Japanese posts but rejected many English ones with 403. Some English word patterns look like SQL to it. I did not loosen the firewall. I reworded the flagged sentences instead.
2. Posts created through the REST API get no language
I publish through the REST API. The free version cannot set a language there. So I added this snippet with the Code Snippets plugin. It only links translations and sets languages. Only users with editor rights can call it.
add_action( 'rest_api_init', function () {
register_rest_route( 'hamu/v1', '/pll', array(
'methods' => 'POST',
'permission_callback' => function () { return current_user_can( 'edit_others_posts' ); },
'callback' => function ( $req ) {
if ( ! function_exists( 'pll_set_post_language' ) ) { return new WP_Error( 'nopll', 'Polylang inactive' ); }
$out = array();
$en = (int) $req['en']; $ja = (int) $req['ja'];
if ( $en && $ja ) {
pll_set_post_language( $ja, 'ja' );
pll_set_post_language( $en, 'en' );
pll_save_post_translations( array( 'ja' => $ja, 'en' => $en ) );
$out['translations'] = pll_get_post_translations( $ja );
}
$term = (int) $req['term_en'];
if ( $term ) {
pll_set_term_language( $term, 'en' );
$tja = (int) $req['term_ja'];
if ( $tja ) { pll_save_term_translations( array( 'ja' => $tja, 'en' => $term ) ); }
$out['term'] = pll_get_term_language( $term );
}
return $out;
},
) );
} );
POST JSON like this to /wp-json/hamu/v1/pll (the numbers are post IDs). Change ja to your own default language code. Any namespace works in place of hamu/v1.
{"en": 2398, "ja": 2051}
3. English categories were swapped back to the originals
When I sent categories in the same request that created the English post, they were replaced with the Japanese categories, probably because the post had no language yet. Sending the categories again after linking the translation fixed it.
Summary
Free Polylang was enough: directory URLs, default language hidden, sync off. Old URLs and ads stayed the same. Pick the posts that English readers would actually search for. Rewrite them rather than translating word for word.


Comments