[wordpress插件] Custom Pagination Permalinks自定义分页永久链接

wordpress 插件 文章 2020-04-08 23:00 543 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

If you want to customize pagination URLs you can see that there are no options to change the URL suffix “[..]/page/[number]/” that WordPress implements in paging context: from home page, in category or

如果您要自定义分页URL,您会看到没有选项可以更改WordPress在分页上下文中实现的URL后缀“ [..] / page / [number] /”:从首页,类别或

tag navigation, search results pages, etc.

标签导航,搜索结果页面等。

This plugin allows you to define a new URL suffix to replace the usual “[..]/page/[number]/” and define custom pagination URLs.

此插件可让您定义新的URL后缀,以替换常用的“ [..] / page / [number] /”并定义自定义分页URL。

To do this make sure that you have activated the pretty permalinks options of WordPress under menu Settings > Permalinks.

要执行此操作,请确保已在菜单设置>永久链接下激活了WordPress的漂亮永久链接选项。

About the previous URLs, this plugin does automatically redirects from old classic URLs to the defined new ones.

关于以前的URL,此插件会自动将旧的经典URL重定向到定义的新URL。

Also there is another feature where you can indicate to search engines that the current page is part of a listing.

还有另一个功能,您可以在其中向搜索引擎指示当前页面是列表的一部分。

This option adds the tags with attributes rel=”prev” and/or rel=”next” into the head section.

此选项将具有属性rel =“ prev”和/或rel =“ next”的标签添加到头部。

安装步骤

    1. Unzip and upload custom-pagination-permalinks folder to the /wp-content/plugins/ directory
    2. 解压缩custom-pagination-permalinks文件夹并将其上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Go to menú Settings > Custom Pagination Permalinks to configure and activate the custom permalinks
    6. 转到菜单>设置>自定义分页永久链接以配置和激活自定义永久链接

下载地址
https://downloads.wordpress.org/plugin/custom-pagination-permalinks.1.0.zip
-EOF-

AI助手支持GPT4.0