[wordpress插件] Change Core Slugs更换核心弹头

wordpress 插件 文章 2020-03-21 14:00 680 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Change Core Slugs is a plugin that allows you to set custom permalink slugs instead of default ones that are provided with WordPress core.

Change Core Slugs是一个插件,可让您设置自定义的永久链接Slug,而不是WordPress Core提供的默认插件。

This functionality is already available in WordPress, however it can be used by manually setting new configuration in the code.

此功能已在WordPress中提供,但是可以通过在代码中手动设置新配置来使用。

What this plugin does is that it provides friendly user interface where all site admins can change default slugs.

该插件的作用是提供了友好的用户界面,所有站点管理员都可以在其中更改默认的子弹。

You can change:

您可以更改:

    • author base in authors archives
    • 作者档案中的

    • author

    • search base in searches archives
    • 搜索档案中的

    • 搜索

    • page base in pagination pages of archives or in single posts
    • 页面位于档案的分页页面或单个帖子中

    • comments-page base in pagination pages of single posts comments
    • 评论页面位于单个帖子评论的分页中

    • comments base in comments feeds
    • 评论提要中的

    • 评论基础

    • feed base in feeds
    • 提要中的

    • 提要基础

    When you change any slug, you will not get redirection from the pages that used old slug.

    更改任何子段时,都不会从使用旧子段的页面获得重定向。

    Same goes if you again change any slug.

    如果再次更改任何子弹,情况也是如此。

    If you want redirection, you must set it through server rules or with other plugins.

    如果要重定向,则必须通过服务器规则或其他插件进行设置。

    If you disable this plugin, old, default slugs will be restored and URLs with new slugs will stop working.

    如果禁用此插件,则将恢复旧的默认段,并且带有新段的URL将停止工作。

    The only way to keep new slugs is by manually setting them in the code.

    保留新块的唯一方法是在代码中手动设置它们。

    NOTE: because of two bugs in WordPress core, in some cases setting custom slugs will not work properly.

    注意:由于WordPress核心中存在两个错误,因此在某些情况下,设置自定义条塞将无法正常工作。

    These cases are when page or comments-page include any non-ASCII character (ticket #41891), or when feed or comments bases are set (ticket #43274).

    .trac.wordpress.org / ticket / 43274“ rel =” nofollow“>#43274 )。

    Until these two bugs are fixed, you can use temporary plugin that includes fixes.

    在修复这两个错误之前,您可以使用包含修复程序的临时插件

    You do not need that plugin if you do not use features that trigger bugs from above.

    如果您不使用从上方触发错误的功能,则不需要该插件。

    And it’s on GitHub.

    它在 GitHub 上。

    Usage

    用法

    Got to Settings > Change Core Slugs page.

    转到“设置”>“更改核心子弹”页面。

下载地址
https://downloads.wordpress.org/plugin/change-core-slugs.1.0.0.zip
-EOF-

AI助手支持GPT4.0