WordPress.org

Support

Support » Plugins and Hacks » why is wordpress redirecting to home page after form submit?

why is wordpress redirecting to home page after form submit?

  • I am using ‘get’ method submit the form, but instead of form being submitted to the same page, it redirects to homepage.

    <form id="myform" name="myform" action="<?php echo get_permalink( $post->ID ); ?>" method="get">

Viewing 1 replies (of 1 total)
  • One lead in this problem. Once again I came across this issue and again googled but to no avail. But i figured out that when setting the permalink anything other then default works just fine. Can anyone explain me about this? Thanks you.

Viewing 1 replies (of 1 total)
  • The topic ‘why is wordpress redirecting to home page after form submit?’ is closed to new replies.