WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Action url of post form on page template (2 posts)

  1. snawbel
    Member
    Posted 3 years ago #

    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

  2. snawbel
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags