Support » Fixing WordPress » Form post to external URL hijacked?

  • I’ve run into an interesting problem.

    I’m creating a form which should POST to an external URL, ie:

    <form method=”post” path=””>

    where is NOT the WP domain. It appears that the POST is being hijacked by something in WP as whenever I enter a value in the form field “name”

    <input type=”text” name=”name” value=””>

    as I end up back on the originating page with the error:

    “Sorry, no posts matched your criteria.”

    Obviously, I can do a workaround by changing the name of the field as all the other field names in the form work fine, but I’m wondering what’s causing the unexpected redirection and if there are any other field names which are off limits.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Actually, I just realized that when I leave the value out of the “name” field, I still get redirected back to the WP page – though the values I entered are properly transferred.

    How do I get it to go out?


    I used javascript to post the form. It worked like a charm. However, I did have to use the format forms[0] instead of the form name.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form post to external URL hijacked?’ is closed to new replies.