{"id":313557,"date":"2026-05-27T07:40:47","date_gmt":"2026-05-27T07:40:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/npc-slug-genius\/"},"modified":"2026-05-27T09:51:37","modified_gmt":"2026-05-27T09:51:37","slug":"npc-slug-genius","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/npc-slug-genius\/","author":23491267,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"1.1.1","tested":"7.0","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"NPC Slug Genius","header_author":"npc","header_description":"Automatically generates SEO-optimized English URL slugs from Japanese post titles using AI. BYOK (Bring Your Own Key) with support for Claude. OpenAI and Gemini support planned.","assets_banners_color":"d2c6b8","last_updated":"2026-05-27 09:51:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/npc-jp\/npc-slug-genius","header_author_uri":"https:\/\/n-pc.jp","rating":0,"author_block_rating":0,"active_installs":0,"downloads":49,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"npc01","date":"2026-05-27 07:40:10"},"1.1.0":{"tag":"1.1.0","author":"npc01","date":"2026-05-27 09:35:24"},"1.1.1":{"tag":"1.1.1","author":"npc01","date":"2026-05-27 09:51:37"}},"upgrade_notice":{"1.1.1":"<p>Confirmed compatibility with WordPress 7.0.<\/p>","1.1.0":"<p>Multi-provider support: OpenAI ChatGPT and Google Gemini are now available alongside Anthropic Claude.<\/p>","1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3550227,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3550227,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3550227,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3550227,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2353,5622,2662,186,561],"plugin_category":[55],"plugin_contributors":[262582],"plugin_business_model":[],"class_list":["post-313557","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-japanese","plugin_tags-permalink","plugin_tags-seo","plugin_tags-slug","plugin_category-seo-and-marketing","plugin_contributors-npc01","plugin_committers-npc01"],"banners":{"banner":"https:\/\/ps.w.org\/npc-slug-genius\/assets\/banner-772x250.png?rev=3550227","banner_2x":"https:\/\/ps.w.org\/npc-slug-genius\/assets\/banner-1544x500.png?rev=3550227","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/npc-slug-genius\/assets\/icon-128x128.png?rev=3550227","icon_2x":"https:\/\/ps.w.org\/npc-slug-genius\/assets\/icon-256x256.png?rev=3550227","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>NPC Slug Genius is built for Japanese WordPress sites that want clean, SEO-friendly English URL slugs without the manual translation work.<\/p>\n\n<p><strong>Most \"slug translator\" plugins translate Japanese to English literally.<\/strong> That gives you slugs like <code>recruitment-information<\/code> (from \u63a1\u7528\u60c5\u5831) or <code>company-introduction<\/code> (from \u4f1a\u793e\u6848\u5185), which are technically correct but unnatural for English-speaking search engines.<\/p>\n\n<p>NPC Slug Genius takes a different approach: it uses AI to think about how an English-speaking searcher would actually look for the page, and generates slugs like <code>careers<\/code> and <code>about-us<\/code>. For Japanese-specific concepts that have no clean English equivalent (\u88dc\u52a9\u91d1 program names, etc.), it keeps the Romaji and translates only the surrounding words, producing slugs like <code>apply-monozukuri-subsidy<\/code>.<\/p>\n\n<p><strong>Key features:<\/strong><\/p>\n\n<ul>\n<li>Automatic SEO-optimized English slug generation on post save<\/li>\n<li>Manual slug edits are respected and never overwritten<\/li>\n<li><strong>Safe by default for existing sites<\/strong>: posts created before plugin activation are skipped, so existing URLs are never rewritten unless you explicitly opt in<\/li>\n<li>Configurable target post types<\/li>\n<li>Safe fallback: if the API key is missing or the API call fails, the post saves normally with no error<\/li>\n<li>BYOK (Bring Your Own Key): you control the API usage and cost<\/li>\n<\/ul>\n\n<p><strong>Supported AI providers (choose any one):<\/strong><\/p>\n\n<ul>\n<li>Anthropic Claude (Haiku model)<\/li>\n<li>OpenAI ChatGPT (GPT-4o mini model)<\/li>\n<li>Google Gemini (2.0 Flash model)<\/li>\n<\/ul>\n\n<p>You only need an API key from one provider. Switch between providers anytime from the settings page.<\/p>\n\n<p><strong>Getting started:<\/strong><\/p>\n\n<ol>\n<li>Install and activate the plugin.<\/li>\n<li>Go to Settings &gt; NPC Slug Genius.<\/li>\n<li>Choose your preferred AI provider from the dropdown.<\/li>\n<li>Get an API key from the provider's console and paste it in:\n\n<ul>\n<li>Anthropic: <a href=\"https:\/\/console.anthropic.com\/settings\/keys\">console.anthropic.com<\/a><\/li>\n<li>OpenAI: <a href=\"https:\/\/platform.openai.com\/api-keys\">platform.openai.com<\/a><\/li>\n<li>Google: <a href=\"https:\/\/aistudio.google.com\/apikey\">aistudio.google.com<\/a><\/li>\n<\/ul><\/li>\n<li>Choose which post types should get automatic slug generation (default: posts and pages).<\/li>\n<li>Create a post with a Japanese title - the slug will be automatically generated when you save.<\/li>\n<\/ol>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to one of three AI provider APIs (whichever the user selects in the settings) to generate SEO-optimized English URL slugs from Japanese post titles. Only the provider you actively select is contacted; the other two are not used.<\/p>\n\n<p>What the services are and what they are used for:\nThese are large language model APIs used to translate Japanese post titles into natural English URL slugs. The plugin uses a low-cost lightweight model from whichever provider you select.<\/p>\n\n<p>What data is sent and when:\nThe plugin sends the post title (text only) to the selected provider's API. The request is made only when a post is saved AND a valid API key for the active provider is configured in the plugin settings. No post content, user data, IP address, or site metadata is sent by this plugin. If no API key is configured for the active provider, no request is made.<\/p>\n\n<h4>Anthropic Claude (provided by Anthropic, PBC)<\/h4>\n\n<ul>\n<li>Endpoint: https:\/\/api.anthropic.com\/v1\/messages<\/li>\n<li>Anthropic Consumer Terms of Service: https:\/\/www.anthropic.com\/legal\/consumer-terms<\/li>\n<li>Anthropic Commercial Terms of Service: https:\/\/www.anthropic.com\/legal\/commercial-terms<\/li>\n<li>Anthropic Usage Policy: https:\/\/www.anthropic.com\/legal\/aup<\/li>\n<li>Anthropic Privacy Policy: https:\/\/www.anthropic.com\/legal\/privacy<\/li>\n<\/ul>\n\n<h4>OpenAI ChatGPT (provided by OpenAI, L.L.C.)<\/h4>\n\n<ul>\n<li>Endpoint: https:\/\/api.openai.com\/v1\/chat\/completions<\/li>\n<li>OpenAI Terms of Use: https:\/\/openai.com\/policies\/row-terms-of-use\/<\/li>\n<li>OpenAI Usage Policies: https:\/\/openai.com\/policies\/usage-policies\/<\/li>\n<li>OpenAI Privacy Policy: https:\/\/openai.com\/policies\/row-privacy-policy\/<\/li>\n<\/ul>\n\n<h4>Google Gemini (provided by Google LLC)<\/h4>\n\n<ul>\n<li>Endpoint: https:\/\/generativelanguage.googleapis.com\/v1beta\/models\/gemini-2.0-flash:generateContent<\/li>\n<li>Google APIs Terms of Service: https:\/\/developers.google.com\/terms<\/li>\n<li>Gemini API Additional Terms of Service: https:\/\/ai.google.dev\/gemini-api\/terms<\/li>\n<li>Google Privacy Policy: https:\/\/policies.google.com\/privacy<\/li>\n<\/ul>\n\n<p>By obtaining an API key from your chosen provider and using this plugin, you agree to that provider's terms.<\/p>\n\n<h3>Privacy Policy<\/h3>\n\n<p>When a post is saved, this plugin sends the post title to the AI provider you configured (Anthropic Claude, OpenAI ChatGPT, or Google Gemini). The post title is processed to generate an English slug and is not stored by this plugin beyond the resulting slug.<\/p>\n\n<p>No personally identifiable information is collected or transmitted by this plugin.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code>, or install through the WordPress admin.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to Settings &gt; NPC Slug Genius and configure your API key.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20api%20key%20to%20use%20this%20plugin%3F\"><h3>Do I need an API key to use this plugin?<\/h3><\/dt>\n<dd><p>Yes. You need an API key from one of the supported providers (Anthropic, OpenAI, or Google). You only need one - whichever you prefer.<\/p><\/dd>\n<dt id=\"how%20much%20does%20it%20cost%20to%20run%3F\"><h3>How much does it cost to run?<\/h3><\/dt>\n<dd><p>Each slug generation costs only a fraction of a cent on any of the supported low-cost models (Claude Haiku, GPT-4o mini, Gemini 2.0 Flash). For most blogs, monthly cost is well under a dollar regardless of provider.<\/p><\/dd>\n<dt id=\"can%20i%20switch%20between%20providers%20later%3F\"><h3>Can I switch between providers later?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"what%20if%20my%20api%20key%20is%20wrong%20or%20the%20api%20is%20down%3F\"><h3>What if my API key is wrong or the API is down?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"can%20i%20edit%20the%20auto-generated%20slug%20manually%3F\"><h3>Can I edit the auto-generated slug manually?<\/h3><\/dt>\n<dd><p>Yes. Once you manually edit a slug, this plugin will not overwrite it on future saves.<\/p><\/dd>\n<dt id=\"what%20data%20is%20sent%20to%20the%20ai%20provider%3F\"><h3>What data is sent to the AI provider?<\/h3><\/dt>\n<dd><p>Only the post title is sent. No post content, no user data, no site metadata.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20custom%20post%20types%3F\"><h3>Does this work with custom post types?<\/h3><\/dt>\n<dd><p>Yes. Go to Settings &gt; NPC Slug Genius and check the post types you want.<\/p><\/dd>\n<dt id=\"i%20installed%20this%20on%20a%20site%20with%20existing%20japanese%20posts.%20will%20their%20urls%20change%3F\"><h3>I installed this on a site with existing Japanese posts. Will their URLs change?<\/h3><\/dt>\n<dd><p>No, not by default. Posts created before plugin activation are skipped to protect existing URLs. If you actually want to rewrite all existing Japanese slugs to English, enable \"Also process posts created before plugin activation\" in the settings (warning: this will change existing URLs).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Tested with WordPress 7.0.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added OpenAI ChatGPT provider (GPT-4o mini model).<\/li>\n<li>Added Google Gemini provider (2.0 Flash model).<\/li>\n<li>Settings page now shows only the API key field for the selected provider.<\/li>\n<li>Saved API keys for non-active providers are preserved until you delete them.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Anthropic Claude provider (Haiku model).<\/li>\n<li>Settings page with API key, provider selection (Claude only for now), and target post types.<\/li>\n<li>Manual slug protection.<\/li>\n<li>Admin notice when API key is missing.<\/li>\n<li>Safe-by-default: existing posts (created before activation) are skipped to protect existing URLs.<\/li>\n<\/ul>","raw_excerpt":"Automatically generates SEO-optimized English URL slugs from Japanese post titles using AI. BYOK (Bring Your Own Key).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/313557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=313557"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/npc01"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=313557"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=313557"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=313557"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=313557"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=313557"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=313557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}