RSS feed Problem WordPress 2.0.1

My RSS feed messed up after i upgraded this blog from WordPress 2.0 to 2.0.1 and i didn’t notice it till Zeo updated his feeds aggregator site where i found out my RSS feed turn out to be a comments feed instead a Posts feed.

RSS feed error - comments show up instead of postings

Here is the temporary fix posted on the WordPress Trac by user joshkidd.

Howto:

Edit the classes.php file.

This can be found in the wp-includes folder (line 1324):

// Comments
$comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, true, true, true);

Change this line to the following:

// Comments
$comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, true, true, true, false);

Save the file. Login into Admin panel, change the permanent link structure (any option) and then switch back the permalink like before. It works for me. ;)


If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

uik..tak ada yg nak komen ke entry kali ni???huehuehuehueheu *aku first lagik…ekekekeek*

Sak betul. Ako ingatkan hang tukar htaccess saje nak kenakan gwe.

haha sori mana gua tau

ha lagi satu htaccess aku yg problem or wp2.01 yg problem for permalink? blog aku nyer link cam site ni (sambil jeling apis), custom permalink ada /index.php/. dulu masa wp2.0 aku boleh guna format /year/date/post, why 2.01 takleh? ko leh apis?

tak kisah permalink cemana ko pakai kat 2.0.1 tu, menda alah ni jadi bug kat wordpress 2.0.1 yang struktur permalink dia ada “/index.php/”

ko edit files classes.php dalam folder wp-includes tuh, cari line bawah ni:


// Comments
$comments_rewrite = $this->generate_rewrite_rules($this->root . $this->comments_base, true, true, true);

tambah false kat blakang 3 kali true tuh. pastu kat admin option ko tukar permalink structure ko kejap pastu update htaccess pastu tukar semula ke permalink stucture yg ko nak, update lagi skali htacess. pastu siap, pastu tido.

maceh.. maceh. sat gi aku try tgk.

sama² seku.. ko dah try tgk ke blom? hehehe

Leave a comment

(required)

(required)