AI助手支持GPT4.0
Backwards Compatible Permalinks helps prevent 404 errors when switching between permalink structures.
向后兼容的永久链接有助于防止在永久链接结构之间切换时出现404错误。 p>
It achieves this by appending a set of backwards compatible post rewrite rules.
它通过附加一组向后兼容的后重写规则来实现。
This ensures posts are still accessible at their previous permalink after the permalink structure is updated.
这样可以确保在更新永久链接结构后,仍可以在其先前的永久链接上访问帖子。 p>
Let’s say your permalink structure is set to “Month and name” and you have a post titled “I Love WordPress.”
假设您的永久链接结构设置为“月份和名称”,而您的帖子为“我爱WordPress”。
That particular post would live at https://example.com/2019/03/i-love-wordpress/.
https://example.com/2019/03/i-love-wordpress/
该特定帖子将发布在 https://example.com/2019/03/i-love-wordpress/ code>。 p>But what if you wanted to switch to the “Post name” permalink structure and have your post live at https://example.com/i-love-wordpress/ instead?但是,如果您想切换到“帖子名称”永久链接结构并将帖子发布在 https://example.com/i-love-wordpress/ code>上怎么办? p >>You could but this would result in the existing post permalink 404ing when visited.您可以,但是访问时会导致现有的永久链接404ing。Which is problematic if the previous URL was bookmarked or shared on social media.如果以前的URL被标记为书签或在社交媒体上共享,这是有问题的。 p>With Backwards Compatible Permalinks installed your post would be accessible at both the old and new permalink structures:安装了向后兼容的永久链接后,您可以在旧的和新的永久链接结构上访问您的帖子: p>https://example.com/2019/03/i-love-wordpress/ https://example.com/2019/03/i-love-wordpress/ code> li>https://example.com/i-love-wordpress/ https://example.com/i-love-wordpress/ code> li> ul>Caveats注意事项 h4>This plugin does not work retroactively.此插件无法追溯使用。i.e. you must have the plugin installed and activated prior to switching permalink structures before backwards compatibility will work.也就是说,在切换永久链接结构之前,必须先安装并激活插件,然后才能向后兼容。 li>Currently only standard posts are supported.当前仅支持标准帖子。 li>Backwards compatibility is not supported between certain permalink structure updates.某些永久链接结构更新之间不支持向后兼容。This is due to a clash between permalink structure regex matching.这是由于永久链接结构正则表达式匹配之间存在冲突。 li>Backwards compatibility is only provided between the most recent permalink structure update.仅在最新的永久链接结构更新之间提供向后兼容性。i.e. you cannot change your permalink structure 3 times and have backwards compatibility across all 3 structures.也就是说,您无法更改3次永久链接结构,并且无法在所有3种结构中都具有向后兼容性。 li> ul>Deactivate or uninstall停用或卸载 h4>After deactivating or uninstalling this plugin please ensure you visit Settings > Permalinks in the WordPress admin area to flush your rewrite rules.停用或卸载此插件后,请确保您访问WordPress管理区域中的“设置”>“永久链接”以刷新您的重写规则。 p>Contributing贡献 h4>Contributions are welcomed on GitHub.捐款欢迎在GitHub上。 p>From within WordPress在WordPress内部 h3>Visit ‘Plugins > Add New’.访问“插件>新增”。 li>Search for ‘Backwards Compatible Permalinks’.搜索“向后兼容的永久链接”。 li>Activate Backwards Compatible Permalinks from your Plugins page.从“插件”页面激活向后兼容的永久链接。 li> ol>Manually手动 h3>Upload the backwards-compatible-permalinks folder to the /wp-content/plugins/ directory.将 backwards-compatible-permalinks code>文件夹上载到 / wp-content / plugins / code>目录。 li>Activate the Backwards Compatible Permalinks plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活向后兼容的永久链接插件。 li> ol>
https://example.com/2019/03/i-love-wordpress/ code>。 p>But what if you wanted to switch to the “Post name” permalink structure and have your post live at https://example.com/i-love-wordpress/ instead?但是,如果您想切换到“帖子名称”永久链接结构并将帖子发布在 https://example.com/i-love-wordpress/ code>上怎么办? p >>You could but this would result in the existing post permalink 404ing when visited.您可以,但是访问时会导致现有的永久链接404ing。Which is problematic if the previous URL was bookmarked or shared on social media.如果以前的URL被标记为书签或在社交媒体上共享,这是有问题的。 p>With Backwards Compatible Permalinks installed your post would be accessible at both the old and new permalink structures:安装了向后兼容的永久链接后,您可以在旧的和新的永久链接结构上访问您的帖子: p>https://example.com/2019/03/i-love-wordpress/ https://example.com/2019/03/i-love-wordpress/ code> li>https://example.com/i-love-wordpress/ https://example.com/i-love-wordpress/ code> li> ul>Caveats注意事项 h4>This plugin does not work retroactively.此插件无法追溯使用。i.e. you must have the plugin installed and activated prior to switching permalink structures before backwards compatibility will work.也就是说,在切换永久链接结构之前,必须先安装并激活插件,然后才能向后兼容。 li>Currently only standard posts are supported.当前仅支持标准帖子。 li>Backwards compatibility is not supported between certain permalink structure updates.某些永久链接结构更新之间不支持向后兼容。This is due to a clash between permalink structure regex matching.这是由于永久链接结构正则表达式匹配之间存在冲突。 li>Backwards compatibility is only provided between the most recent permalink structure update.仅在最新的永久链接结构更新之间提供向后兼容性。i.e. you cannot change your permalink structure 3 times and have backwards compatibility across all 3 structures.也就是说,您无法更改3次永久链接结构,并且无法在所有3种结构中都具有向后兼容性。 li> ul>Deactivate or uninstall停用或卸载 h4>After deactivating or uninstalling this plugin please ensure you visit Settings > Permalinks in the WordPress admin area to flush your rewrite rules.停用或卸载此插件后,请确保您访问WordPress管理区域中的“设置”>“永久链接”以刷新您的重写规则。 p>Contributing贡献 h4>Contributions are welcomed on GitHub.捐款欢迎在GitHub上。 p>From within WordPress在WordPress内部 h3>Visit ‘Plugins > Add New’.访问“插件>新增”。 li>Search for ‘Backwards Compatible Permalinks’.搜索“向后兼容的永久链接”。 li>Activate Backwards Compatible Permalinks from your Plugins page.从“插件”页面激活向后兼容的永久链接。 li> ol>Manually手动 h3>Upload the backwards-compatible-permalinks folder to the /wp-content/plugins/ directory.将 backwards-compatible-permalinks code>文件夹上载到 / wp-content / plugins / code>目录。 li>Activate the Backwards Compatible Permalinks plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活向后兼容的永久链接插件。 li> ol>
But what if you wanted to switch to the “Post name” permalink structure and have your post live at https://example.com/i-love-wordpress/ instead?
https://example.com/i-love-wordpress/
但是,如果您想切换到“帖子名称”永久链接结构并将帖子发布在 https://example.com/i-love-wordpress/ code>上怎么办? p >>You could but this would result in the existing post permalink 404ing when visited.您可以,但是访问时会导致现有的永久链接404ing。Which is problematic if the previous URL was bookmarked or shared on social media.如果以前的URL被标记为书签或在社交媒体上共享,这是有问题的。 p>With Backwards Compatible Permalinks installed your post would be accessible at both the old and new permalink structures:安装了向后兼容的永久链接后,您可以在旧的和新的永久链接结构上访问您的帖子: p>https://example.com/2019/03/i-love-wordpress/ https://example.com/2019/03/i-love-wordpress/ code> li>https://example.com/i-love-wordpress/ https://example.com/i-love-wordpress/ code> li> ul>Caveats注意事项 h4>This plugin does not work retroactively.此插件无法追溯使用。i.e. you must have the plugin installed and activated prior to switching permalink structures before backwards compatibility will work.也就是说,在切换永久链接结构之前,必须先安装并激活插件,然后才能向后兼容。 li>Currently only standard posts are supported.当前仅支持标准帖子。 li>Backwards compatibility is not supported between certain permalink structure updates.某些永久链接结构更新之间不支持向后兼容。This is due to a clash between permalink structure regex matching.这是由于永久链接结构正则表达式匹配之间存在冲突。 li>Backwards compatibility is only provided between the most recent permalink structure update.仅在最新的永久链接结构更新之间提供向后兼容性。i.e. you cannot change your permalink structure 3 times and have backwards compatibility across all 3 structures.也就是说,您无法更改3次永久链接结构,并且无法在所有3种结构中都具有向后兼容性。 li> ul>Deactivate or uninstall停用或卸载 h4>After deactivating or uninstalling this plugin please ensure you visit Settings > Permalinks in the WordPress admin area to flush your rewrite rules.停用或卸载此插件后,请确保您访问WordPress管理区域中的“设置”>“永久链接”以刷新您的重写规则。 p>Contributing贡献 h4>Contributions are welcomed on GitHub.捐款欢迎在GitHub上。 p>From within WordPress在WordPress内部 h3>Visit ‘Plugins > Add New’.访问“插件>新增”。 li>Search for ‘Backwards Compatible Permalinks’.搜索“向后兼容的永久链接”。 li>Activate Backwards Compatible Permalinks from your Plugins page.从“插件”页面激活向后兼容的永久链接。 li> ol>Manually手动 h3>Upload the backwards-compatible-permalinks folder to the /wp-content/plugins/ directory.将 backwards-compatible-permalinks code>文件夹上载到 / wp-content / plugins / code>目录。 li>Activate the Backwards Compatible Permalinks plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活向后兼容的永久链接插件。 li> ol>
https://example.com/i-love-wordpress/ code>上怎么办? p >>You could but this would result in the existing post permalink 404ing when visited.您可以,但是访问时会导致现有的永久链接404ing。Which is problematic if the previous URL was bookmarked or shared on social media.如果以前的URL被标记为书签或在社交媒体上共享,这是有问题的。 p>With Backwards Compatible Permalinks installed your post would be accessible at both the old and new permalink structures:安装了向后兼容的永久链接后,您可以在旧的和新的永久链接结构上访问您的帖子: p>https://example.com/2019/03/i-love-wordpress/ https://example.com/2019/03/i-love-wordpress/ code> li>https://example.com/i-love-wordpress/ https://example.com/i-love-wordpress/ code> li> ul>Caveats注意事项 h4>This plugin does not work retroactively.此插件无法追溯使用。i.e. you must have the plugin installed and activated prior to switching permalink structures before backwards compatibility will work.也就是说,在切换永久链接结构之前,必须先安装并激活插件,然后才能向后兼容。 li>Currently only standard posts are supported.当前仅支持标准帖子。 li>Backwards compatibility is not supported between certain permalink structure updates.某些永久链接结构更新之间不支持向后兼容。This is due to a clash between permalink structure regex matching.这是由于永久链接结构正则表达式匹配之间存在冲突。 li>Backwards compatibility is only provided between the most recent permalink structure update.仅在最新的永久链接结构更新之间提供向后兼容性。i.e. you cannot change your permalink structure 3 times and have backwards compatibility across all 3 structures.也就是说,您无法更改3次永久链接结构,并且无法在所有3种结构中都具有向后兼容性。 li> ul>Deactivate or uninstall停用或卸载 h4>After deactivating or uninstalling this plugin please ensure you visit Settings > Permalinks in the WordPress admin area to flush your rewrite rules.停用或卸载此插件后,请确保您访问WordPress管理区域中的“设置”>“永久链接”以刷新您的重写规则。 p>Contributing贡献 h4>Contributions are welcomed on GitHub.捐款欢迎在GitHub上。 p>From within WordPress在WordPress内部 h3>Visit ‘Plugins > Add New’.访问“插件>新增”。 li>Search for ‘Backwards Compatible Permalinks’.搜索“向后兼容的永久链接”。 li>Activate Backwards Compatible Permalinks from your Plugins page.从“插件”页面激活向后兼容的永久链接。 li> ol>Manually手动 h3>Upload the backwards-compatible-permalinks folder to the /wp-content/plugins/ directory.将 backwards-compatible-permalinks code>文件夹上载到 / wp-content / plugins / code>目录。 li>Activate the Backwards Compatible Permalinks plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活向后兼容的永久链接插件。 li> ol>
>
You could but this would result in the existing post permalink 404ing when visited.
您可以,但是访问时会导致现有的永久链接404ing。
Which is problematic if the previous URL was bookmarked or shared on social media.
如果以前的URL被标记为书签或在社交媒体上共享,这是有问题的。 p>
With Backwards Compatible Permalinks installed your post would be accessible at both the old and new permalink structures:
安装了向后兼容的永久链接后,您可以在旧的和新的永久链接结构上访问您的帖子: p>
https://example.com/2019/03/i-love-wordpress/ code> li>https://example.com/i-love-wordpress/ https://example.com/i-love-wordpress/ code> li>
https://example.com/i-love-wordpress/ code> li>
ul>
i.e. you must have the plugin installed and activated prior to switching permalink structures before backwards compatibility will work.
也就是说,在切换永久链接结构之前,必须先安装并激活插件,然后才能向后兼容。 li>
This is due to a clash between permalink structure regex matching.
这是由于永久链接结构正则表达式匹配之间存在冲突。 li>
i.e. you cannot change your permalink structure 3 times and have backwards compatibility across all 3 structures.
也就是说,您无法更改3次永久链接结构,并且无法在所有3种结构中都具有向后兼容性。 li>
After deactivating or uninstalling this plugin please ensure you visit Settings > Permalinks in the WordPress admin area to flush your rewrite rules.
停用或卸载此插件后,请确保您访问WordPress管理区域中的“设置”>“永久链接”以刷新您的重写规则。 p>
Contributions are welcomed on GitHub.
捐款欢迎在GitHub上。 p>
ol>
backwards-compatible-permalinks
/wp-content/plugins/
backwards-compatible-permalinks code>文件夹上载到 / wp-content / plugins / code>目录。 li>Activate the Backwards Compatible Permalinks plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活向后兼容的永久链接插件。 li>
/ wp-content / plugins / code>目录。 li>Activate the Backwards Compatible Permalinks plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活向后兼容的永久链接插件。 li>
原文出处:http://www.sanshu.cn/a/3827.html
群主管理都是支付大佬