WPCOM-Legacy-Redirector:WordPress插件,用于以可扩展方式处理大量旧版重定向

时间:2024-03-14 02:15:21
【文件属性】:

文件名称:WPCOM-Legacy-Redirector:WordPress插件,用于以可扩展方式处理大量旧版重定向

文件大小:30KB

文件格式:ZIP

更新时间:2024-03-14 02:15:21

wordpress wordpress-plugin redirects vip PHP

WPCOM旧版重定向器 WordPress插件,用于以可扩展方式处理旧版重定向。 重定向存储为自定义帖子类型,并使用以下字段: post_name为“来自”路径或URL的md5哈希值。 我们使用此列,因为它已建立索引并且查询速度非常快。 我们还使用md5只是为了简化存储。 post_title用来存储“ from”路径的非md5版本。 任一个: post_parent如果我们重定向到帖子); 或者 如果要重定向到备用URL, post_excerpt 。 有关详细文档,请参阅 使用此插件之前,请与我们联系。 要求 PHP 5.6以上 WordPress 4.5以上 变更记录 有关的完整列表,请参见 。 执照 根据GPL-2.0-or-later许可。


【文件预览】:
WPCOM-Legacy-Redirector-develop
----.gitignore(83B)
----wpcom-legacy-redirector.php(2KB)
----bin()
--------install-wp-tests.sh(4KB)
----.travis.yml(1KB)
----js()
--------admin-add-redirects.js(850B)
----composer.json(1KB)
----CHANGELOG.md(3KB)
----.github()
--------CODEOWNERS(164B)
--------dependabot.yml(674B)
----wpcom-helper.php(148B)
----README.md(854B)
----phpunit-integration.xml.dist(733B)
----tests()
--------integration()
--------unit()
----phpunit.xml.dist(711B)
----.editorconfig(561B)
----includes()
--------class-list-redirects.php(4KB)
--------class-capability.php(670B)
--------class-wpcom-legacy-redirector-cli.php(11KB)
--------class-wpcom-legacy-redirector-ui.php(9KB)
--------class-lookup.php(4KB)
--------class-wpcom-legacy-redirector.php(14KB)
--------class-post-type.php(3KB)

网友评论