WordPress.org

Forums

[resolved] Feeds Not Found (yes I've read codex & forums) (7 posts)

  1. eastbayinsomniac
    Member
    Posted 7 years ago #

    Since upgrading to 2.3, the feeds built into my theme in my footer are no longer working. Maybe they were never working.

    I've read the codex: http://codex.wordpress.org/WordPress_Feeds and the code in my footer is on par with the codex.

    Then I read this thread: http://wordpress.org/support/topic/49089?replies=13 and I removed the word "feed" from the footer. This stopped the error message, but I'm still getting "file not found."

    My footer looks like this:

    <a href="<?php">"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/rss_s.gif" alt="" /> <?php _e('Entries (RSS)','mandigo'); ?></a>
    		<?php _e('and','mandigo'); ?> <a href="<?php">"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/rss_s.gif" alt="" /> <?php _e('Comments (RSS)','mandigo'); ?></a>

    My website is http://www.eastbayinsomniac.com

    When I click the RSS button in the footer, I get this URL: http://www.eastbayinsomniac.com/feed/%22 with nothing there

    I am using custom permalinks. Can anyone suggest how to get the feeds working?

    Thanks-
    Jeremy

  2. moshu
    Member
    Posted 7 years ago #

    Take a closer look:
    <a href="<?php">">
    does it look correct to you?

    Your feeds are perfecly OK, you don't have any problems with them. You have basic HTML link-writing problems. Or your theme's author.

  3. eastbayinsomniac
    Member
    Posted 7 years ago #

    Moshu-

    I don't know how those extra quotes got there. I'm posting the code again and tagging it as code. This is the feed code in my footer, but it's yielding the problem above. For instance, why does the feed return a url with %22 at the end?

    <a href=<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/rss_s.gif" alt="" /> <?php _e('Entries (RSS)','mandigo'); ?></a>
    		<?php _e('and','mandigo'); ?> <a href=<?php bloginfo('comments_rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/rss_s.gif" alt="" /> <?php _e('Comments (RSS)','mandigo'); ?></a>
  4. moshu
    Member
    Posted 7 years ago #

    OK, we can argue here till the end of the time... but just get over to your site and hover those links in the footer. Watch the address displayed in the bottom left of your browser window - there IS an obsolete " after the link (which is 'translated' as %22 in the URL).

    Get rid of it.

  5. eastbayinsomniac
    Member
    Posted 7 years ago #

    I don't really want to argue until the end of time. I just removed what I thought were the errant " after the link, but I now get this URL with my RSS link:

    http://www.eastbayinsomniac.com/feed/%3Cimg

    Here, again, is the code:

    <a href=<?php bloginfo('rss2_url'); ?><img src="<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/rss_s.gif" alt="" /> <?php _e('Entries (RSS)','mandigo'); ?></a>
    		<?php _e('and','mandigo'); ?> <a href=<?php bloginfo('comments_rss2_url'); ?><img src="<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/rss_s.gif" alt="" /> <?php _e('Comments (RSS)','mandigo'); ?></a>

    Perhaps instead of telling me to get ride of "it" you could say what in the code to get rid of? I can see that I have a code error as it is somehow incorporating img into the feed link.

    P.S. My feed is http://www.eastbayinsomniac.com/feed right?

    Thanks.

  6. moshu
    Member
    Posted 7 years ago #

    Basic HTML.
    The code <a href=... should ALWAYS have a " [quote] after the equal sign

    <a href="...

  7. eastbayinsomniac
    Member
    Posted 7 years ago #

    Ah thanks, an extra pair of eyes is always helpful. It's not the theme-designer. I must have stripped it when I removed the "feed" as per my initial post. Thanks for your patience in troubleshooting this. I do appreciate it and will close this thread.

Topic Closed

This topic has been closed to new replies.

About this Topic