Support » Fixing WordPress » location RSS auto-discovery URI?

  • I am running wordpress 1.5 and using the Letterhead 1.0 theme. The site is http://www.techcrunch.com.

    I’d like to locate the autodiscovery RSS URI and change it to a feedburner feed. I’ve searched on this support site and have tried to figure this out but I’m just not a coder. Anyone know which file the RSS/Atom URIs are located?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    It should be in your theme’s Header Template (usually header.php). Look for a few lines like this:

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

    Thread Starter michaelarrington

    (@michaelarrington)

    Hi, thank you.

    I found all of that code and changed it to this:

    <link rel=”alternate” type=”application/rss+xml” title=”RSS” href=”http://feeds.feedburner.com/Techcrunch&#8221; />

    but the autodiscovery seems unchanged (I did remember to save the file, refresh, etc.). Any ideas?

    Also, where are these “rss_url”s mentioned in the old code (what you wrote above) located anyway?

    Thread Starter michaelarrington

    (@michaelarrington)

    Just in case I am missing something, here is all of the code from header.php after I made the change (and there are still all of these random feeds showing up in autodiscover):

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;

    <head profile=”http://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />
    <!– leave this for stats –>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />

    <link rel=”alternate” type=”application/rss+xml” title=”RSS” href=”http://feeds.feedburner.com/Techcrunch&#8221; />

    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_get_archives(‘type=monthly&format=link’); ?>

    <?php wp_head(); ?>
    </head>
    <body>

    <div id=”page”>

    <div id=”header”>
    <h1>“>
    <img src=”/wp-content/techcrunchbigger.gif” />
    </h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>
    <img src=”images/line.gif” width=”433″ height=”1″ alt=”” />

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    The “rss_url” values are core WordPress functions and pretty much work as “Place the correct URL for the RSS feed (as it corresponds to the permalinks structure) here.” It is perfectly safe to not use the “rss_url” values, but it is not safe to change the core functions of the values.

    If I use my feedreader (RSSOwl) to search http://www.techcrunch.com/ for RSS feeds, the only feed that it returns is: http://feeds.feedburner.com/Techcrunch So, it seems to be working properly.

    Thread Starter michaelarrington

    (@michaelarrington)

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘location RSS auto-discovery URI?’ is closed to new replies.