Use get_feed_link for RSS URL

This commit is contained in:
Ben Word
2014-01-15 15:20:00 -06:00
parent 9bcd427ab6
commit 56cc1863f2

View File

@@ -8,5 +8,5 @@
<?php wp_head(); ?>
<link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> Feed" href="<?php echo home_url(); ?>/feed/">
<link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> Feed" href="<?php echo esc_url(get_feed_link()); ?>">
</head>