Dopo aver aggiornato WordPress alla versione 2.5.1 ho notato un grave errore nella visualizzazione dei Feed, esattamente in:

wordpress/wp-rss2.php

// wordpress/feed/ lavora bene
la soluzione si trova nella modifica a due files:
wp-includes/rewrite.php

wp-includes/rewrite.php
r7666 r7843
794 794
795 795 //Default Feed rules - These are require to allow for the direct access files to work with permalink structure starting with %category%
796 $default_feeds = array( '.*/wp-atom.php$' => $this->index .'?feed=atom',
797 '.*/wp-rdf.php$' => $this->index .'?feed=rdf',
798 '.*/wp-rss.php$' => $this->index .'?feed=rss',
799 '.*/wp-rss2.php$' => $this->index .'?feed=rss2',
800 '.*/wp-feed.php$' => $this->index .'?feed=feed',
801 '.*/wp-commentsrss2.php$' => $this->index . '?feed=rss2&withcomments=1');
796 $default_feeds = array( '.*wp-atom.php$' => $this->index .'?feed=atom',
797 '.*wp-rdf.php$' => $this->index .'?feed=rdf',
798 '.*wp-rss.php$' => $this->index .'?feed=rss',
799 '.*wp-rss2.php$' => $this->index .'?feed=rss2',
800 '.*wp-feed.php$' => $this->index .'?feed=feed',
801 '.*wp-commentsrss2.php$' => $this->index . '?feed=rss2&withcomments=1');

802 802
803 803 // Post

/wp-includes/version.php
r7834 r7843
17 17 * @global int $wp_db_version
18 18 */
19 $wp_db_version = 7796;
19 $wp_db_version = 7843;
20 20
21 21 ?>

Post ufficiale http://trac.wordpress.org/changeset/7843

WordPress, soluzione wp-rss2
Tag:                 
  • i have been using WordPress for 2 years but i still dont know how to do SEO using WordPress, is there an SEO pluggin for WordPress?.