converspace / webmention

A modern alternative to Pingback.
webmention.org
173 stars 18 forks source link

How to handle webmentions for non-canonical URL? #43

Closed singpolyma closed 9 years ago

singpolyma commented 9 years ago

What if the source links to me using a shortlink (or other non-canonical link)? Should they send a target= with the shortlink in it and then I resolve in order to find the content locally? Should they send a target= with the resolved link in it... but then how do I do the verification? Or is this sort of linking just not allowed? Seems like it would be useful to allow it.

aaronpk commented 9 years ago

If the source HTML has a shortlink (or other non-canonical link) then the target parameter will also be the same link. It's up to the receiving website to resolve that to the canonical URL on their site.

This is discussed a little more on the wiki:

The webmention receiver must follow redirects (or otherwise resolve) a non-canonical target parameter.