WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form (4 posts)

  1. Danny159
    Member
    Posted 2 years ago #

    Hey guys,

    I am making a new template for my wordpress website and I have a custom page template with a contact form on it...

    When the user clicks Submit it goes to the same page as the contact form and I added some PHP to process the form... However if you dont enter anything or leave something blank the script will echo an error as it should...

    But if everything is correct and you click submit it goes to the wordpress 404 page even though the URL is set to /contact/

    Does anyone know why this would be happening?

    Dan

  2. tightline
    Member
    Posted 2 years ago #

    What plugin are you using for the contact form?

  3. Danny159
    Member
    Posted 2 years ago #

    I am not using a plugin, I hard coded it into the theme

    Dan

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    And therein lies your problem. Unless you fancy effectively building your own contact forum plugin, I'd suggest you install one. My personal favourite is http://wordpress.org/extend/plugins/contact-form-7/ but there are hundreds to choose from.

Topic Closed

This topic has been closed to new replies.

About this Topic