Tweeted twitter.com/StackWordPress/status/785599769053921281
2 deleted 1 character in body; edited tags
source | link

My copy of WordPress outputs two <link/> tags in the header of (nearly?) every page. TheyThey look like this.

<link rel="alternate" type="application/json+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fexample.com%2Fbust%2F" />
<link rel="alternate" type="text/xml+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fexample.com%2Fbust%2F&#038;format=xml" />

What are these oembed links for? Do they need to be here for WordPress to do things? Or are they here so other sites can better consume my content? What would be the consequences if I removed them?

My copy of WordPress outputs two <link/> tags in the header of (nearly?) every page. They look like this.

<link rel="alternate" type="application/json+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fexample.com%2Fbust%2F" />
<link rel="alternate" type="text/xml+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fexample.com%2Fbust%2F&#038;format=xml" />

What are these oembed links for? Do they need to be here for WordPress to do things? Or are they here so other sites can better consume my content? What would be the consequences if I removed them?

My copy of WordPress outputs two <link/> tags in the header of (nearly?) every page. They look like this.

<link rel="alternate" type="application/json+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fexample.com%2Fbust%2F" />
<link rel="alternate" type="text/xml+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fexample.com%2Fbust%2F&#038;format=xml" />

What are these oembed links for? Do they need to be here for WordPress to do things? Or are they here so other sites can better consume my content? What would be the consequences if I removed them?

1
source | link

What are the Oembed Links For?

My copy of WordPress outputs two <link/> tags in the header of (nearly?) every page. They look like this.

<link rel="alternate" type="application/json+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fexample.com%2Fbust%2F" />
<link rel="alternate" type="text/xml+oembed" href="http://example.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fexample.com%2Fbust%2F&#038;format=xml" />

What are these oembed links for? Do they need to be here for WordPress to do things? Or are they here so other sites can better consume my content? What would be the consequences if I removed them?