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 .
Asked
Active
Viewed 8,029 times
14

Emanuel Mocean
- 285
- 1
- 3
- 8
1 Answers
7
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.

cweiske
- 30,033
- 14
- 133
- 194
-
I get a "403 Forbidden" response in my browser when I click on the "via HTTP headers" link in the answer. – Andrew P. Aug 14 '19 at 17:04
-
fixed fixed fixed – cweiske Aug 14 '19 at 17:50