[wp-hackers] Rewrite hacking/recreation

Eric A. Meyer eric at meyerweb.com
Mon Jan 29 19:51:32 GMT 2007


Hello,

    I upgraded from WP 1.5.2 to WP2.1 and it broke several of my 
.htaccess file's rewrite rules.  This has killed two of the most 
popular feeds on my site, as well as several "index" pages.  I can't 
seem to properly add a filter to the rewrite_rules_array via a 
plugin, since it runs on the "Permalinks" admin page with no apparent 
effect (I know it's running because I threw in a 'die' to find out 
where it was running) but not on actual URLs in the public site. 
Basically, I have no idea why things are breaking the way they are. 
(For that matter, I can't tell why WP needs to re-implement 
mod_rewrite, but since I'm now stuck in 2.x land, that's pretty much 
blood over the dam.)
    So are there any good, clear guides to translating .htaccess rules 
into the new rewrite structure?  I read the WP_Rewrite function 
reference on the Codex, and it didn't help.  I also Googled about, 
but on all the pages I found, nothing anyone recommended seemed to 
work.
    Alternatively, if someone wants to take me by the hand and lead me 
through the big, scary woods of rewriting, I'm up for that. 
Considering my all-posts feeds (both full-content and summary) as 
well as my linkblog and the main page of my post archive are all 404, 
some in really fascinating ways, I'll take whatever help I can get.
    See http://meyerweb.com/eric/thoughts/2007/01/29/wp-21-breakage/ 
if you want a vaguely more detailed description of what's going 
wrong.  Otherwise, ask.  Thanks.

-- 
Eric A. Meyer  (eric at meyerweb.com)
Principal, Complex Spiral Consulting   http://complexspiral.com/
"CSS: The Definitive Guide," "CSS2.0 Programmer's Reference,"
"Eric Meyer on CSS," and more    http://meyerweb.com/eric/books/


More information about the wp-hackers mailing list