-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List hexo-canonical-link plugin #1080
Conversation
It seems that the plugin is duplicated with hexojs/hexo#3701 |
@SukkaW yeah seems like that PR covers the scope of this plugin and that of hexo-auto-canonical. |
Does your plugin offer any enhancement compared to hexo-auto-canonical? |
hexo-canonical-link readme mentions
I assume Can you give a specific example where hexo-canonical-link works better? |
It is useful in cases where a blog post is a cross posted on multiple sites
(medium, dev.to, etc.) and also on your personal site. With this plugin you
can link to your medium blog and not confuse Google's algo.
…On Fri, 13 Sep 2019 at 05:42, curbengh ***@***.***> wrote:
hexo-auto-canonical doesn't work for external urls and hence is
opinionated. This plugin is general in nature and works for any url.
hexo-canonical-link readme mentions
By default, the url of the page will be set as canonical link
I assume page means the user's webpage, so is there a need to work with
external urls? My understanding is that canonical meta tag
<https://support.google.com/webmasters/answer/139066?hl=en> is to inform
the search engine which specific link (of a user's webpage) should be
considered as the canonical one, so external url seems to be irrelevant, no?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1080?email_source=notifications&email_token=ABIVCTRNWFINWVJUATL6R2TQJLLGTA5CNFSM4IU7EUN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6TTRNA#issuecomment-531052724>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABIVCTRKWPSMULVLJD72BA3QJLLGTANCNFSM4IU7EUNQ>
.
|
I see, I just read about cross-domain canonical tag. Can you mention that feature in the description? This is to let user know the difference. also append your plugin to "plugins.yml", not prepend. |
Rearranged the plugin
@curbengh made the changes. |
Thanks, I further clarified the description. Previously, I don't think |
Plugin to add canonical links for pages. By default, the url of the page will be set as canonical link. Other urls can be set by mentioning
canonical_url
in frontmatter of the page. Useful for SEO.Check List
Please read and check followings before submitting a PR.
link
URL is correct.preview
URL is correct.preview
URL web site is rendered correctly.source/themes/screenshots
.name
.800 * 500
.png
.link
URL is correct.