Title: Slug Automator
Author: Toro_Unit (Hiroshi Urabe)
Published: <strong>2026 年 5 月 11 日</strong>
Last modified: 2026 年 5 月 19 日

---

搜索插件

![](https://ps.w.org/slug-automator/assets/icon.svg?rev=3537696)

# Slug Automator

 作者：[Toro_Unit (Hiroshi Urabe)](https://profiles.wordpress.org/toro_unit/)

[下载](https://downloads.wordpress.org/plugin/slug-automator.0.4.1.zip)

 * [详情](https://cn.wordpress.org/plugins/slug-automator/#description)
 * [评价](https://cn.wordpress.org/plugins/slug-automator/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/slug-automator/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/slug-automator/#developers)

 [支持](https://wordpress.org/support/plugin/slug-automator/)

## 描述

Slug Automator automatically generates slugs from WordPress post titles using the
[AI Client](https://make.wordpress.org/core/2026/03/24/introducing-the-ai-client-in-wordpress-7-0/)
introduced in WordPress 7.0.

Writing post titles in Japanese or any other non-English language? Slug Automator
uses AI to translate them into clean, English URL-friendly slugs — no manual input
required. Automatic generation runs on publish only when the slug field is empty,
so any slug you set yourself is never overwritten. You can also generate or regenerate
a slug on demand with the “Generate Slug” button in the block editor.

Because it relies on the WordPress AI Client, it works with any AI provider configured
on your site (Anthropic, Google, OpenAI, and more).

Github: [https://github.com/torounit/slug-automator](https://github.com/torounit/slug-automator)

### Features

 * Automatically generates slugs from post titles via AI
 * Provider-agnostic — uses whichever AI provider is configured in WordPress
 * Works directly in the block editor

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/slug-automator` directory, 
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Make sure an AI provider is configured under **Settings > Connectors** in WordPress.

## 常见问题

### Which AI service does this plugin use?

This plugin uses the WordPress AI Client (requires WordPress 7.0 or later). It works
with any AI provider configured by the site administrator under **Settings > Connectors**.

### Does it overwrite slugs I have already set?

Not automatically. Auto-generation on publish only runs when the slug field is empty.
If you want to replace an existing slug, you can do so explicitly with the “Generate
Slug” button in the block editor.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Slug Automator」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)

[帮助将「Slug Automator」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/slug-automator)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/slug-automator/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/slug-automator/)，或通过[RSS](https://plugins.trac.wordpress.org/log/slug-automator/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/slug-automator/)。

## 更新日志

### 0.4.1

 * Optimize model preferences for slug generation to improve output quality.
 * Update README.

### 0.4.0

 * Fix duplicate slug on regeneration by passing the current slug as an exclusion
   hint to the AI.
 * Improve AI prompt to require semantic English translation and prohibit transliteration.
 * Refactor context schema to `{type, id}` and tighten permission checks in the 
   slug ability.

### 0.3.1

 * Add “Generate Slug” button to the block editor using the WordPress Abilities 
   API.

### 0.2.0

 * Add support for Gemini 3.1 Flash Lite model.

### 0.1.8

 * Fix release zip to include build assets.

### 0.1.5

 * WordPress Plugin Directory release.

### 0.1.0

 * Initial release.

## 额外信息

 *  版本 **0.4.1**
 *  最后更新：**3 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 7.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/slug-automator/)
 * 标签
 * [AI](https://cn.wordpress.org/plugins/tags/ai/)[permalink](https://cn.wordpress.org/plugins/tags/permalink/)
   [slug](https://cn.wordpress.org/plugins/tags/slug/)
 *  [高级视图](https://cn.wordpress.org/plugins/slug-automator/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/slug-automator/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/slug-automator/reviews/)

## 贡献者

 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/slug-automator/)