From 9de72e9bfd5e7525055b8f9c00edab2b41609f7e Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 11 Aug 2011 23:45:02 +0000 Subject: [PATCH] Direct rdf/rss redirects, to save a double redirect. props westi. see #4967 git-svn-id: http://svn.automattic.com/wordpress/trunk@18538 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rewrite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 46c1b3219..841a99396 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -1500,8 +1500,8 @@ class WP_Rewrite { // Default Feed rules - These are require to allow for the direct access files to work with permalink structure starting with %category% $default_feeds = array( '.*wp-atom.php$' => $this->index . '?feed=atom', - '.*wp-rdf.php$' => $this->index . '?feed=rdf', - '.*wp-rss.php$' => $this->index . '?feed=rss', + '.*wp-rdf.php$' => $this->index . '?feed=rss2', + '.*wp-rss.php$' => $this->index . '?feed=rss2', '.*wp-rss2.php$' => $this->index . '?feed=rss2', '.*wp-feed.php$' => $this->index . '?feed=feed', '.*wp-commentsrss2.php$' => $this->index . '?feed=rss2&withcomments=1');