Just got a note from Kevin at Wizbang that my RSS feed was not validating. He also kindly sent along a link on how to fix it. To check if your feed validates, go to this validator and enter the URL wp-rss2.php (for instance, mine is: http://site-essential.com/wp-rss2.php ) . If it doesn’t validate, this should fix it. Since a lot of people aren’t too happy with messing around with PHP coding, I have a fixed file available. Click on the link, copy and paste the text into a text editor, save it as wp-rss2.php and upload it to the main wp directory in your site. Warning: do not try to simply save the page in your browser or you will get all sorts of nonsense and the file will be totally useless.
For those who are under spam attack and getting annoyingly long moderation queues, I also have a minor ‘fix’ for the moderation.php page, which is simply a change of the default checkbox from “Do Nothing” to “Delete”. That way you don’t have to either click delete on each comment in a long list or delete them one by one as you get them. The file is here. Again, cut and paste into a text editor, and save as moderation.php (see warning above; do not simply save the file from your browser). Upload to your wp-admin folder.
[update] Note on the RSS validation. This is something that has evidently recently changed so don’t expect that, just because you checked the validation before, it still validates.
3 Comments
Thanks, Kathy. It was an easy fix!
After a moment of complete panic, serenity returns. Mine validated. Phew.
Dunno why, I didn’t think I had changed it so it should have been the default one. Oh well, if it works then I won’t fiddle with it.
I will, however, bookmark this page in case I need it again
I’m not sure what was going on with that. Mine _did_ validate when I set it up. I suspect if yours is still validating that you’ll be fine till the validator updates or something. After that, the fix will probably be a different one…
2 Trackbacks
[...] he feed validates. For those who don’t like editing PHP files, Kathy Kinsley has a number of helpful solutions. (As a bonus, Kathy’s provided help for those of us WordP [...]
[...] en hundreds of permutations of it. It was this particular client who inspired me to go and change the moderation.php to make it check ‘delete’ by default, instead of R [...]