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
This commit is contained in:
parent
47bf346a9f
commit
681494971f
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue