PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Passing querystring data to WP page? htaccess issues maybe?

  1. Hi, I'm trying to pass a couple of fields to a wordpress page with a redirect.

    The page has the permalink 'test-destination' (http://mydomain/test-destination/) so this is what I have in the destination field.

    The page 'test-destination' will have a custom template which I'll have some custom functions in to handle the QS data.

    In the QS builder I have this:
    email={Email:2}&name={Full Name:1}

    What I try it out, the resulting page it redirects to is this:
    http://mydomain/test-destination/?email=test%40test.com&name=Test+Name

    ...which shows a 404. Is there any way around this? Its in local development so I cant really point you to a demo of the problem :/

    Any help appreciated. I'm using this as a hacky-stopgap until GF integrates with WP User Registration :)

    Cheers!
    Ben

    Posted 14 years ago on Tuesday November 2, 2010 | Permalink
  2. Name is a reserved keyword in WordPress for query string parameters. You will have to use something other than "name" as one of your parameters.

    Posted 14 years ago on Tuesday November 2, 2010 | Permalink
  3. Aha! fantastic. Love it. Thanks. I'm not used to a plugin forum that actually replies to support requests. Good work :)

    Posted 14 years ago on Tuesday November 2, 2010 | Permalink