Support » Fixing WordPress » Action url of post form on page template

  • Resolved snawbel

    (@snawbel)


    Hi,

    I have a “page-upload.php” template in my theme with a form for posting to WP without using the admin interface. I would like the same page handle the form data.

    <form action="" ... > gives me a strange 404. What action url should I use? Anything else to think about here?

    Best,

    Erik

Viewing 1 replies (of 1 total)
  • Ok, after more research I found that strange 404s can be caused by naming conflicts with WP, such as form fields named “name”.

    Try naming all your form fields with unique identifiers if you run into this problem!

    E

Viewing 1 replies (of 1 total)
  • The topic ‘Action url of post form on page template’ is closed to new replies.