Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the purpose of link rel="pingback"?

What is the purpose of <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> ? It appears in the default wordpress 2014 theme but pingbacks work without it .

like image 787
Emanuel Mocean Avatar asked Feb 14 '14 00:02

Emanuel Mocean


Video Answer


1 Answers

Pingback URLs may be exposed via HTTP headers, so removing them from the HTML while the HTTP headers are intact is fine.

Having them at both places would help clients that only support one way of discovering pingback URLs, but most implement both. Using headers is even better because clients can do HTTP HEAD requests to discover them and do not have to fetch and parse the whole HTML.

like image 186
cweiske Avatar answered Sep 23 '22 07:09

cweiske