MWGblog

Michael W. Geoghegan's Weblog

  • Home
  • Archives
  • Press
  • Speaking
  • Search
  • Contact
    • Email
    • RSS
    • Twitter

WordPress 2.0 and Mod-rewrites

1/21/2006 By Michael

I discovered the hard way, that if you have built an audience subscribed to a custom rss extension, you might need to think twice before upgrading your WordPress install. WordPress has changed the way it handles the feeds from the site. The old /wp-rss2.php file is still there, but frankly that is an ugly extension. On this and my other sites I have always used a rewrite so that people could pull the RSS feed at mwgblog.com/rss.xml. Turns out WordPress 2.0 breaks this. Buried somewhere in the permalink building code it causes a 404 error to be posted to the header breaking aggregators. Interestingly it will display in the browser and only seems to effect rewrites to the feeds. All the other rewrites work just fine. A few other people have posted in detail about this problem. Of course, you find this out once you have already done the upgrade. I don’t know that it is a high priority fix; 2.0 is new and they have bigger fish to fry. If you are a php expert, feel free to dig into the classes.php file, my guess is that is where the problem lies.

So how did I fix it? It’s complicated. I have a script that scrapes the wp-rss2.php file and posts it to a static xml file. I then changed the rewrite to point /rss.xml to the static xml file. That is a pain the ass way of doing it, but it works.

I am still hopeful someone with PHP prowess will care enough to find the real fix.

Filed Under: General Tagged With: rewrite, rss, Wordpress

Filed Under: General Tagged With: rewrite, rss, Wordpress

About Michael

Michael W. Geoghegan is founder and CEO of GigaVox Media. NewMedia Entrepreneur & Podcast Pioneer/Pundit. Author of two books. Creator of two time James Beard Award winner GrapeRadio.com
My Books on Amazon / GigaVox Media / Grape Radio / Podcast Academy / Reel Reviews Radio

Comments

  1. Stumax says

    1/22/2006 at 11:35 pm

    Michael – I’ve been spending the weekend installing WordPress 2.0. It’s my first time using it, so I had no custom code for it to break, but in poking around all the plugins, I came across several that won’t work because of this same rewrite problem. From what I can tell, the WordPress crew decided to circumvent mod-rewrite and let WP handle rewrites internally. At least, that’s the best understanding of the issue this non-coder can come up with. Suffice to say that anything that depends on Apache for URL re-writes is gonna break. Tough luck, eh?

Trackbacks

  1. DJ Cruze » Wordpress 2.0 killed my podcast! says:
    4/10/2006 at 1:44 pm

    […] So it looks like the installation of WordPress 2.0 has killed my podcast RSS2 feed. Reading around the subject, it appears that the new version of WordPress does something funky deep in its core with the RSS feeds. So my normal podcast feed won’t work. Hopefully I can get it sorted tomorrow. Fingers crossed! If anyone else knows how to fix it then please get in touch. […]

KX6A – amateur radio callsign

KX6A

Yaesu FT1D SOTA Trail Card

FT1D SOTA Trail Card

My Books

Podcast Solutions

The Business Podcasting Book

RSS KX6A

  • KX6A Amateur Radio Goals – 2018
  • KX6A Radio Goal Results for 2017
  • SOTA W6/SS-224, Peak 11,100

RSS Reel Reviews Radio

Produced By


GigaVox Media, Inc.

Links

  • GigaVox Media
  • KX6A
  • Reel Reviews Radio

Recent

  • Radio and SOTA moved to KX6A.com
  • SOTA W6/SC-405, Sugarloaf
  • SOTA W6/CT-172, Sitton Peak
  • Podcast Domains For Sale
  • SOTA W6/CT-056, Iron Mountain

About

Michael W. Geoghegan is founder and CEO of GigaVox Media.

As a pioneer of podcasting, Michael created some of the first corporate podcasts, including efforts by Disney. Michael is also creator of the 2008 & 2011 James Beard Award winning "GrapeRadio" and "Reel Reviews: Films Worth Watching."

He is editor-in-chief of the Podcast Academy™ book series and co-author of Podcast Solutions: The Complete Guide to Podcasting.

Copyright © 2004–2022 · Michael W. Geoghegan & GigaVox Media, Inc. · Genesis Framework · Log in