Feed url variable conflict
-
I’ve got a code conflict after fitting WordPress into an existing development environment and am hoping someone here might have a less hacky solution than the one I’ve come up with.
Here’s the issue: We have a stats-tracking get variable in our urls, something like “http://blah.com/?feed=sourceoflink,” and it so happens that WP uses that same variable for serving up different types of RSS feeds (think: “feed=rss2” or “feed=atom”).
Assuming changing the existing environment is not a technical solution, are there any tips or advice on how to resolve this conflict? I think I need WP to ignore Feed templates universally when serving RSS feeds, but don’t know where to start. I’m happy to code out a plugin fix if there’s an appropriate API hook out there.
Related Codex items:
* WP-Rewrite
* Customizing feeds
The topic ‘Feed url variable conflict’ is closed to new replies.