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

Canonical Link

描述

Adds the canonical link to your site (Learn More).

Activate and then set your permalinks to “Post name” under Settings > Permalinks. That’s it.

Verify that it’s working correctly with the Firefox add-on.

Supports the ability to customize the canonical link for any specific page, post, or even custom post types (including WooCommerce Products and bbPress Topics).

安装

Automatic

  • From your WordPress Admin, navigate to: Plugins > Add New
  • Search for: Canonical Link
  • Install it
  • Activate it
  • Please see Additional Instructions

Manual

  • Download
  • Unzip
  • Upload to /plugins/ folder
  • Activate
  • Please see Additional Instructions

Additional Instructions

You will also need to update your permalinks (if you haven’t already), which will give you desirable SEO-friendly and user-friendly URLs anyway:

  • From your WordPress Admin, navigate to: Settings > Permalinks
  • Under “Common Settings“, select “Post name
  • Click “Save Changes” and you’re done

评价

2025 年 2 月 5 日 3 回复
My mistake probably. Can’t delete. Have 5 stars, I guess.
阅读所有1条评价

贡献者及开发者

「Canonical Link」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Canonical Link」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.6

  • Minor code cleanup

1.5

  • Minor cleanup

1.4

  • Added support for custom canonical links on single pages and posts

1.3

  • Added https support

1.2

  • Removed syntax error from code

1.1

  • Cleans URLs better, removing query strings (?)

1.0

  • New