WP-API / docs-v2

Documentation for version 2 of the API
http://v2.wp-api.org
58 stars 76 forks source link

Initial support for setting canonical URLs per page #216

Closed jblz closed 5 years ago

jblz commented 5 years ago

...& add a target for a test page (extending/adding).

See: https://twitter.com/alapapa/status/1093983402783580160

Solution inspired by: https://gist.github.com/bennylope/1894706#gistcomment-2821633


Should help the handbook rank higher in search results more quickly.

If this approach looks good, I can look into other pages where this would be useful.

If you want to see it in action, I published the included page here: https://jblz.github.io/docs-v2/extending/adding/

Cheers!

rmccue commented 5 years ago

I am good with this.

@kadamwhite Thoughts?

kadamwhite commented 5 years ago

I like it. Thanks!