Help with Safari 2.0 RSS and new WP (4 posts)

  1. digiproductions
    Posted 10 years ago #

    After upgrading I noticed problem with Safari 2.0 RSS address bar button. What happens is it loads feed://www.mydomain/mywebblogtitle instead of feed://www.mydomain/feed This used to work before updating WP 1.5 to latest. If I change the Weblog title in Options in WP to "feed", Safari RSS works. But of course web site title and RSS feed out is now wrong. This is a problem with PHP in WP I think. Anyone have this problem or have a fix for this. I am a bit confused with this. Any insight would be appreciated. The feed part at end is being read from Weblog Title? Does not work correctly.

  2. James Huff
    Volunteer Moderator
    Posted 10 years ago #

    The problem is actually with your theme. Take a look at the three feed links in your Header Template (header.php). They are:

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="ReelSmart.com" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="ReelSmart.com" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="ReelSmart.com" />

    They should be:

    <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'); ?>" />

    Just replace that section with the one that I provided, or the similar section from the WordPress Default Theme just to be safe, and your problems should be cleared up.

  3. digiprod
    Posted 10 years ago #

    Thanks so much. I missed that. Works like a charm.

  4. James Huff
    Volunteer Moderator
    Posted 10 years ago #

    Glad to be of service. ^_^

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.