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
This commit is contained in:
parent
7689657c90
commit
9de72e9bfd
|
@ -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 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',
|
$default_feeds = array( '.*wp-atom.php$' => $this->index . '?feed=atom',
|
||||||
'.*wp-rdf.php$' => $this->index . '?feed=rdf',
|
'.*wp-rdf.php$' => $this->index . '?feed=rss2',
|
||||||
'.*wp-rss.php$' => $this->index . '?feed=rss',
|
'.*wp-rss.php$' => $this->index . '?feed=rss2',
|
||||||
'.*wp-rss2.php$' => $this->index . '?feed=rss2',
|
'.*wp-rss2.php$' => $this->index . '?feed=rss2',
|
||||||
'.*wp-feed.php$' => $this->index . '?feed=feed',
|
'.*wp-feed.php$' => $this->index . '?feed=feed',
|
||||||
'.*wp-commentsrss2.php$' => $this->index . '?feed=rss2&withcomments=1');
|
'.*wp-commentsrss2.php$' => $this->index . '?feed=rss2&withcomments=1');
|
||||||
|
|
Loading…
Reference in New Issue