>> Home / SEO / Blog article: Wordpress, soluzione wp-rss2

| Mobile | RSS

Wordpress, soluzione wp-rss2

Giugno 25th, 2008 | Nessun commento | SEO

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

<strong>wp-includes/rewrite.php</strong>
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$’ =&gt;  $this-&gt;index .‘?feed=atom’,
797                                             ‘.*/wp-rdf.php$’  =&gt;  $this-&gt;index .‘?feed=rdf’,
798                                             ‘.*/wp-rss.php$’  =&gt;  $this-&gt;index .‘?feed=rss’,
799                                             ‘.*/wp-rss2.php$’ =&gt;  $this-&gt;index .‘?feed=rss2′,
800                                             ‘.*/wp-feed.php$’ =&gt;  $this-&gt;index .‘?feed=feed’,
801                                             ‘.*/wp-commentsrss2.php$’ =&gt;  $this-&gt;index . ‘?feed=rss2&amp;withcomments=1′);
<strong> 796            $default_feeds = array( ‘.*wp-atom.php$’  =&gt;  $this-&gt;index .‘?feed=atom’,
797                                     ‘.*wp-rdf.php$’   =&gt;  $this-&gt;index .‘?feed=rdf’,
798                                     ‘.*wp-rss.php$’   =&gt;  $this-&gt;index .‘?feed=rss’,
799                                     ‘.*wp-rss2.php$’  =&gt;  $this-&gt;index .‘?feed=rss2′,
800                                     ‘.*wp-feed.php$’  =&gt;  $this-&gt;index .‘?feed=feed’,
801                                     ‘.*wp-commentsrss2.php$’  =&gt;  $this-&gt;index . ‘?feed=rss2&amp;withcomments=1′);</strong>
802     802
803     803             // Post
/<strong>wp-includes/version.php</strong>
r7834   r7843
17      17       * @global int $wp_db_version
18      18       */
19              $wp_db_version = 7796;
19      <strong>$wp_db_version = 7843;</strong>
20      20
21      21      ?&gt;

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

Condividi : Queste icone linkano i siti di social bookmarking sui quali i lettori possono condividere e trovare nuove pagine web.
  • Technorati
  • YahooMyWeb
  • Slashdot
  • Segnalo
  • Digg
  • Facebook
  • OKnotizie
  • Live-MSN
  • Google Bookmarks
  • Reddit
Commenta 15 views, 1 so far today |

Articoli correlati

Leave a Reply