Support » Installing WordPress » I’ve created form on custom page its action generate 404 page in wp?

  • Mansukh Malhi

    (@engrmansukh13)


    I’ve created form on custom page in wordpress page-mycustom.php in child theme directory and data get page is page-data-page.php.
    <form action=”<php echo site_url(‘data-page’); ?>” method=”post”>
    <input type=”text” name=”user”>
    <input type=”submit” name=”sub” value=”submit” >

    When I submit form its generate 404-page, when I visit page-data-page.php form dashboard pages its working . How can I Handle 404 page.

    page-data-page.php only test print.

    echo “testing”;

Viewing 1 replies (of 1 total)
  • Hello,

    Hope you are doing well.!!

    you are getting a 404 error which means the requested action was not found. Please check with your parent directory.. whether its supporting your child theme or not. If not please update the child theme as supporting with the parent directory.

    Thank you

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.