WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why does wordpress redirect to the home page after submitting a form? How can I make wordpress call the right page in the form action?

share|improve this question
Add the form code to your question to make answers possible. – toscho Mar 18 '13 at 22:22
also.. not really a wordpress question.. – timshutes Mar 19 '13 at 2:09

You have to set the path in the action attribute of your form, e.g.

<form action="/my/form/page" method="post">

If action is missing or empty it will send the form to the current page, if it is just "/" it will send it to the home page.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.