why is wordpress redirecting to home page after form submit? (2 posts)

  1. kcssm
    Posted 4 years ago #

    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">

  2. kcssm
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic