| 开发者 | npc01 |
|---|---|
| 更新时间 | 2026年10月20日 08:37 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
recruitment-information (from 採用情報) or company-introduction (from 会社案内).
NPC Slug Genius takes a different approach: its prompt instructs the AI to use the short English words that websites commonly use for such pages, such as careers and about-us. For Japanese-specific concepts that have no clean English equivalent (補助金 program names, etc.), the AI is instructed to keep the Romaji and translate only the surrounding words, for example apply-monozukuri-subsidy. The actual output is generated by the AI model and may vary.
Key features:
/wp-content/plugins/, or install through the WordPress admin.Yes. You need an API key from one of the supported providers (Anthropic, OpenAI, or Google). You only need one - whichever you prefer.
Each slug generation is one API request: a fixed instruction text included in the plugin (about 3 KB) plus the post title, with a reply limited to 64 tokens. The plugin uses a low-cost model from each provider (Claude Haiku 5.5, GPT-6 Luna, Gemini 3.5 Flash-Lite). The actual cost depends on the provider's current pricing and on how often you save posts that need a new slug, so please check your provider's pricing page.
Yes. You can change the active provider from the settings page anytime. API keys for unused providers are kept in your settings (but never sent anywhere) until you delete them.
The plugin fails silently. Your post saves normally with the default WordPress slug behavior (which keeps the Japanese title as the slug). No errors are shown to the visitor. If the provider does not respond, saving may take up to 30 seconds while the plugin waits for it. When the API call succeeds again, saving such a post replaces its Japanese slug if the post meets the conditions in "Which posts does this plugin process?" below, which changes its URL.
When a post is saved, the plugin tries to generate an English slug only if all of the following are true:
Yes. A slug that you type yourself using only English letters, numbers and hyphens is never replaced. Once this plugin has generated a slug for a post, saving the post with a different, non-empty slug locks it. After that, the plugin does not generate a slug for that post again, even if you change the slug back to Japanese. On a published post, WordPress fills an empty slug from the title, so clearing the slug field usually results in a locked Japanese slug. One exception to this lock: if the slug is exactly the one that WordPress makes from the generated slug when the post is published under its current parent, it does not count as a change and does not lock the slug. A slug that you type yourself is not locked either if it is exactly that slug. WordPress adds a number such as "-2" in these cases:
The post title, together with a fixed instruction text included in the plugin and the API key of the selected provider (for authentication). The post content, author, categories, tags, and other user data are not sent. If the title itself contains personal information (for example, a person's name), that text is sent as part of the title. See "External services" below for details.
Yes. Public post types, including public custom post types, are listed under Settings > NPC Slug Genius. Check the ones you want.
Not by default. Posts dated before the plugin was first activated on this site are skipped, to protect existing URLs. The settings page shows this time as "Plugin was activated on". Deactivating and reactivating the plugin does not change it; deleting the plugin resets it. However, a post dated on or after that time that still has a Japanese slug (for example, because the plugin was inactive, no API key was set, or the API call failed when the post was published) gets an English slug the next time it is saved, if it meets the conditions in "Which posts does this plugin process?" above. This changes its URL. If you want older posts to be processed as well, enable "Also process posts created before plugin activation" in the settings. This does not convert posts in bulk: each post is processed the next time it is saved (warning: this changes existing URLs). Locked slugs are not changed.