We have 5 blogs on MU. each lives in its folder and every thing works great except once in a while WP redirects (or responses I should say) users to comments RSS feed of one of the blogs. The path stays the same and every thing works once you refresh the page.
Questions:
Any idea why this happening every other time?
Is there any way to refresh/reload/update wordpress's redirect rules?
Is there are any way to turn off rss feed for comments?
Not a single idea on where the problems are?
No this is just FIY: I have commented out do_feed() in /wp-includes/template-loader.php. Still once a while I have rss instead of page/category/post.
Any other places i should look that can spit out rss?
I've never seen this behavior. I'm wondering if it's a theme issue or plugin issue.
Ok. I'm done fiddling around. I went into /wp-includes/class-simplepie.php and hard coded function is_feed(&$file) to have another if statement that looks at $_SERVER['REQUEST_URI']) and look for '/feed', if it is not there -> false, otherwise carry on with normal wp rooting.
I'll keen an eye on this post in case some have better ideas
It does not seem to work. Moving up the chain... moving this check to general-template.php. Seems like working better (more consistent).
So, before you started hacking core, did you try switching to the default theme and disabling plugins?
Well, this is live website and i do not have that luxury, but everything works perfect on test server. We do all dev. on test server and than move themes to live server.
I suspect this was triggered when we moved content from development machine to live blog for one of the blogs (but it was before I took over).
conualfy
Member
Posted 1 year ago #
I'm having the same problem on my site: http://bit.ly/c496X4 on WP (not MU). I'll be trying some changes (it's in production, so i can't do very much during daytime): overwriting new WP files, disabling plugins, changing to default theme.
conualfy
Member
Posted 1 year ago #
All the above did not fix the bug, any idea how to fix it? Thanks!