From 681494971f1b6b364de1b5d7e6dbb53c4c8669ec Mon Sep 17 00:00:00 2001 From: Mark Jaquith 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: https://develop.svn.wordpress.org/trunk@18538 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 46c1b3219f..841a99396d 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');