Support » Themes and Templates » header link:

  • WHY does header.php in Twenty ten link to

    <link rel="profile" href="" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

    It doesn’t seem to be a css file, or a php file, or anything useable by the program… what (if anything) does it do? Nothing obvious happens if I remove it. Why is it there?

Viewing 6 replies - 1 through 6 (of 6 total)
  • XFN is a HTML profile which describes the meaning of extra semantic data that can be added to the rel attribute of outbound links.

    If you specify relationship information in the link manager for the links you add then this describes the meaning of those attributes to a consumer of your site.

    You can read more about XFN here:

    Thread Starter marthalee


    OK, yes, has much the same information as /xfn/11.

    Neither seems to be a page that the program can use–both seem to be display pages to be read. Yet they are hidden away from both visitor and many site owners in the header file. What’s the point? And especially if–I am a bit unclear here–IF this page must be successfully accessed on the way to loading the WordPress page. Seems like it would just slow things down and add bazillions of “hits” to, all to no end.

    The link will not get hit for every page load.

    It is there so that a user agent that wants to extract the XFN metadata know what the profile being used on the page is.

    For more info on rel=profile you can read this:

    In general a user agent that was aware of XFN would just know what that profile meant and would not access the url everytime the page loaded.

    Much the same as a browser doesn’t go and load the DTD specified in the DOCTYPE element at the top of every HTML page.

    So? We should remove it?

    @kutlayegen it’s up to you, I know I am because my theme isn’t validating

    It’s throwing an error during W3C markup validation…”profile” not an acceptable value for “rel”.


    You should bear in mind that the HTML 5 spec is still in draft form and, as such, is likely to change over the next 2 – 3 years.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘header link:’ is closed to new replies.