I have created a custom form on my WordPress site, however, after hitting submit, it redirects to a 404 page, even though the URL does in fact exist.
Here's the action part,
<form action="<?php echo $_SERVER["REQUEST_URI"]; ?>" method="post" >
When hitting submit, it goes to a 404 page with the correct URL at the top. If I copy and paste that URL, it directs to the correct page.
Anyone run into this? Thanks