• Hello, I’ve got a question and I would really appreciate any input, even if you aren’t sure yourself.

    First of all my URL is http://www.theanxietynaturalremedies.com

    I’ve got the Corpvox theme installed. The theme comes with an RSS chicklet in the top right corner of the header.

    When I click on the RSS chicklet I get this ww.theanxietynaturalremedies.com/# and it does not redirect me to my feed page.

    However, when I activate different themes the RSS feed works fine. I get http://www.theanxietynaturalremedies.com/feed

    I know it’s a rookie question, but what does the # symbol mean at the end of the url and how can I get my rss feed to work.

    I really like this them and I don’t want to change it.

    Thanks again for any help.

    -Garrett

Viewing 5 replies - 1 through 5 (of 5 total)
  • The # symbol is just filler for the url link. You just need to edit the template and replace the # with ‘/feed’, and the rss link will work.

    Thread Starter GarrettLST

    (@garrettlst)

    Thanks,

    That helps but now instead of getting http://www.theanxietynaturalremedies.com/# I am just being redirected to an off site page.

    It’s seems like such a simple fix, and I did exactly as you said. Here is the header.php code.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
    <meta name="description" content="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>" />
    <meta name="keywords" content="" />
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
    <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'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <title><?php if (is_home () ) { bloginfo(‘name’); }
    elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo(‘name’); }
    elseif (is_single() ) { single_post_title();}
    elseif (is_page() ) { single_post_title();}
    else { wp_title(‘’,true); } ?></title>
    
    <?php wp_head(); ?>
    </head>
    
    <body>
    
    <div id="wrap">
    <div id="wrap_in">
    
    	<div id="top" class="wrap">
    		<div class="col-left">
    <?php if(function_exists('show_media_header')){ show_media_header(); } ?>
    			<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    		</div>
    		<div class="col-right wrap">
    			<a href="#"><img src="<?php bloginfo('template_directory'); ?>/img/img_rss.gif" width="116" height="46" alt="RSS Feed" /></a>
    			<a href="#"><img src="<?php bloginfo('template_directory'); ?>/img/img_email.gif" width="115" height="46" alt="Email Feed" /></a>
    		</div>
    	</div>
    
    	<div id="menu">
    		<ul>
    			<?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>
    			<li class="<?php echo $highlight; ?> first"><a href="<?php bloginfo('url'); ?>">Home</a></li>
    			<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    		</ul>
    	</div>

    I took this portion of the code

    <a href="#"><img src="<?php bloginfo('template_directory'); ?>/img/img_rss.gif" width="116" height="46" alt="RSS Feed" /></a>

    and replaced the “#” sign with the’/feed’ and it did not show the feeds page.

    Any suggestions? Thanks so much for your help.

    Im not sure if you have permalinks enabled, so its easiest just to add <?php bloginfo(‘rss2_url’); ?> to that rss part of code:

    <a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('template_directory'); ?> ...

    Thread Starter GarrettLST

    (@garrettlst)

    Thank you so much. That worked beautifully. Actually, the first method you gave me ended up working.

    Turns out I had my feedburner plugin still activated so it was causing problems when I tried the first method. The second method also worked.

    Thanks, I’m very happy now!

    I’m glad it worked!
    Im used to using /feed as the default rss feed, however that only works if you have permalinks enabled on the blog, which is why I recommend the 2nd option, which will work whether you have permalinks enabled or not.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘RSS Feed Not Working’ is closed to new replies.