Title: WP Alternative Slug by 010Pixel
Author: 010pixel
Published: <strong>2016 年 1 月 7 日</strong>
Last modified: 2018 年 8 月 3 日

---

搜索插件

![](https://ps.w.org/wp-alternative-slug-by-010pixel/assets/banner-772x250.png?rev
=1322941)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/wp-alternative-slug-by-010pixel/assets/icon.svg?rev=1322941)

# WP Alternative Slug by 010Pixel

 作者：[010pixel](https://profiles.wordpress.org/010pixel/)

[下载](https://downloads.wordpress.org/plugin/wp-alternative-slug-by-010pixel.1.3.1.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/)

## 描述

A new way to create multiple URLs for the same post. Very useful when creating url
for multiple languages. e.g. your main url can be in english but your alternative
url can be in your own language. You can share your own language url on social media.

WP Alternative Slug allows you to choose posts, pages and custom post types to have
secondary url.

When you access secondary URL, it will bring you to the main article.

**Made by [010Pixel](http://www.010pixel.com/)**

### 使用

 1. Go to `Plugins` > `WP Alternative Slug by 010Pixel`. You will be able to see all
    the custom post types including `Post`.
 2. Tick all the checkbox for the post types for which you want to enable alternative
    slug metabox.
 3. Create a post and enter the alternative slug you would like to use.
 4. If you do not want to user alternative slug then select keep the ‘Alternative Slug’
    input empty.

For any query, you can contact me at [010 Pixel](http://www.010pixel.com/)

## 屏幕截图

[⌊Settings in WordPress to choose Custom Post Types⌉⌊Settings in WordPress to choose
Custom Post Types⌉[

Settings in WordPress to choose Custom Post Types

[⌊Sample Alternative Slug Metabox⌉⌊Sample Alternative Slug Metabox⌉[

Sample Alternative Slug Metabox

## 安装

 1. Unpack the download-package
 2. Upload folder include all files to the `/wp-content/plugins/` directory. The final
    directory tree should look like `/wp-content/plugins/010pixel-wp-alternative-slug/
    010pixel-wp-alternative-slug.php`
 3. Activate the plugin through the `Plugins` menu in WordPress
 4. Administrator can go to `Plugins` > `WP Alternative Slug by 010Pixel` menu and 
    configure the plugin (Type of Posts/Custom Posts where you want to show Alternative
    Slug input Metabox)

 * or use the automatic install via backend of WordPress

## 常见问题

  Installation Instructions

 1. Unpack the download-package
 2. Upload folder include all files to the `/wp-content/plugins/` directory. The final
    directory tree should look like `/wp-content/plugins/010pixel-wp-alternative-slug/
    010pixel-wp-alternative-slug.php`
 3. Activate the plugin through the `Plugins` menu in WordPress
 4. Administrator can go to `Plugins` > `WP Alternative Slug by 010Pixel` menu and 
    configure the plugin (Type of Posts/Custom Posts where you want to show Alternative
    Slug input Metabox)

 * or use the automatic install via backend of WordPress

  How to choose which Custom Post Types can have the alternative slug metabox?

Go to `Plugins` > `WP Alternative Slug by 010Pixel`. You will be able to see all
the custom post types including `Post`.
 Tick the custom post type for which you
want to show alternative slug metabox and click `Submit`. You are done!

  How to set alternative slug for post?

Enable Alternative Slug Metabox by following the method shown above and you will
be able to see template list metabox when you create a post.
 Just enter the slug
which you want to use as alternative slug for a particular post and the post will
have that alternative slug attached to it.

  What if I don’t want to have alternative slug for a post?

Set value for Alternative Slug metabox to empty and save the post.

  My alternative slug is redirecting to wrong page.

Please check if multiple pages have same slug used. For now there is not checking
for unique slug so the latest article with the slug will be loaded.

## 评价

![](https://secure.gravatar.com/avatar/45cb0a5ab41cac24685028cf673bafb7d38dba4237daf5822e2a3aa52bc867a9?
s=60&d=retro&r=g)

### 󠀁[add an alternative URL (in any language) to your post](https://wordpress.org/support/topic/add-an-alternative-url-in-any-language-to-your-post/)󠁿

 [broccol](https://profiles.wordpress.org/broccol/) 2017 年 4 月 5 日

Nice plugin can create an additional alternative URL slug to existed post. For example,
current page is: www.yoursite.com/category/page-1 additional URL (for the same page):
www.yoursite.com/category/Иван-Иванович-Иванов Result: both URL will be active and
available!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/reviews/)

## 贡献者及开发者

「WP Alternative Slug by 010Pixel」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ 010pixel ](https://profiles.wordpress.org/010pixel/)

[帮助将「WP Alternative Slug by 010Pixel」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-alternative-slug-by-010pixel)

### 对开发感兴趣吗?

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

## 更新日志

#### v1.0.0

 * 2016-01-06
 * Initial release.

#### v1.1.0

 * 2016-01-11
 * Removed bug of page being redirected even when the post type is not selected

#### v1.2.0

 * 2016-01-12
 * Added function to create proper slug by converting string to lowercase and replacing
   spaces with underscore
 * Removed bug of not redirecting page when not-english languages are used as url
   slug

#### v1.3.0

 * 2016-11-22
 * Added support for space in URL. The plugin will automatically replace spaces 
   with hyphen and redirect to related post.

#### v1.3.1

 * 2018-08-03
 * Tested with latest version

## 额外信息

 *  版本 **1.3.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **4.9.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-alternative-slug-by-010pixel/)
 * 标签
 * [custom post types](https://cn.wordpress.org/plugins/tags/custom-post-types/)
   [metabox](https://cn.wordpress.org/plugins/tags/metabox/)[post url](https://cn.wordpress.org/plugins/tags/post-url/)
   [slug](https://cn.wordpress.org/plugins/tags/slug/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-alternative-slug-by-010pixel/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/reviews/)

## 贡献者

 *   [ 010pixel ](https://profiles.wordpress.org/010pixel/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wp-alternative-slug-by-010pixel/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://donorbox.org/building-helpful-google-chrome-extensions)