[wp-hackers] Adding a custom GET parameter to a feed URL
Josh Harrison
josh at picklewagon.com
Thu Jan 27 21:27:22 UTC 2011
I had this happening for a plugin I was creating a while back. I ended up
disabling all plugins and then it worked. I promptly found the culprit and
was able to complete the plugin.
Josh
On Thu, Jan 27, 2011 at 10:21 AM, Otto <otto at ottodestruct.com> wrote:
> You must be doing the redirect yourself, somehow, because WP doesn't do
> that.
>
> Example: http://ottopress.com/feed/?foo=bar
>
> I have nothing special happening on foo, and it's basically ignored.
>
> -Otto
>
>
>
> 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
> > parameter.
> >
> > 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.
> >
> > Thanks,
> > Dave
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list