[wp-hackers] Adding a custom GET parameter to a feed URL
otto at ottodestruct.com
Thu Jan 27 18:21:25 UTC 2011
You must be doing the redirect yourself, somehow, because WP doesn't do that.
I have nothing special happening on foo, and it's basically ignored.
On Thu, Jan 27, 2011 at 11:44 AM, dave morris <dvmorris at gmail.com> wrote:
> I am writing a custom feed that I would like to be able to accept a
> custom GET parameter. However, when I specify that extra parameter,
> the feed redirects to the main blog page, and includes that custom
> For example:
> http://example.com/feed/custom-feed-type/ - outputs a feed in my
> custom format
> http://example.com/feed/custom-feed-type/?cat=test - outputs a feed in
> my custom format containing posts assigned to category 'test'
> http://example.com/feed/custom-feed-type/?customparam=test - redirects
> to the main blog home page
> What hook can I provide to get around this redirect? I'm having
> trouble finding it in the code.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers