WordPress.org

Ready to get started?Download WordPress

Forums

Need help with contact form 7 (18 posts)

  1. DarrenBachan
    Member
    Posted 3 years ago #

    Hi,

    I installed contact form 7 from here: http://contactform7.com/

    I'm pretty sure I installed it correctly. In the pages tab I have this "[contact-form 1 "Contact form 1"]" and I have it linked to http://www.darrenbachan.com/contact but the problem is when I go to that url I see nothing just what I have on that html file. How do I properly do this?

  2. stvwlf
    Member
    Posted 3 years ago #

    This
    [contact-form 1 "Contact form 1"]
    is supposed to be pasted into the WordPress editor when you are editing the Contact page. Update and save.

    When the contact page is displayed the plugin will replace
    [contact-form 1 "Contact form 1"]
    with the form you created.

  3. DarrenBachan
    Member
    Posted 3 years ago #

    i followed the steps on the contact-form site (well it redirected to wordpress) and it didn't mention wordpress editor but a tab called "Pages" and I copied the code

  4. stvwlf
    Member
    Posted 3 years ago #

    You have to paste that into the editor box when you are editing the page called Contact. (It could be any page or any post but you want it on your contact page).

    Its that simple. If you haven't done that then do it and it will work.

  5. DarrenBachan
    Member
    Posted 3 years ago #

    .......
    that's what I did. I made a page called "Contact" and pasted the code in and there's nothing when I click on the link.

  6. DarrenBachan
    Member
    Posted 3 years ago #

    the "Contact" page is linked to an existing page I have, could that be the problem? Should I make the link to an index.html that doesn't index?

  7. stvwlf
    Member
    Posted 3 years ago #

    What do you mean by "click on the link"? What link?

    Are you clicking a Nav link to call up the contact page and the page is coming up empty, or are you clicking a link on the contact page that is supposed to display the form?

  8. stvwlf
    Member
    Posted 3 years ago #

    You need to paste the form code onto a WordPress page that displays when you call up its URL. No redirection, no forwarding to any other page.

    For testing, create a new page called Test and paste the Contact Form 7 code on that page. Then view the page called Test.

  9. DarrenBachan
    Member
    Posted 3 years ago #

    Ok I created a page called "Test" and pasted the code. It creates a permalink http://www.darrenbachan.com/test and when I click on view page I get the 404 error.

  10. stvwlf
    Member
    Posted 3 years ago #

    Then you have a problem with the way your permalinks are set up.

    Go to Dashboard Settings / permalinks. Take note of what your permalinks are set to.

    Reset them to the first option, the default, and save your changes.

    Then change the permalinks back to what they were before you changed them to the first option and save them again.

    The reason you are doing this is this combination makes WordPress reset all its redirection code. Most likely that is why you had a 404. Then try calling up the test page again.

  11. DarrenBachan
    Member
    Posted 3 years ago #

    No dice...clicking on "test" now takes me to the url "http://www.darrenbachan.com/?page_id=28" and on screen its my websites main page.

  12. stvwlf
    Member
    Posted 3 years ago #

    that means you did not successfully reset the permalinks back to the way they were before.

    set them to how they were before you set them to the default.

    Refresh the permalinks page and take a look - ten to one it is still set to default.

  13. DarrenBachan
    Member
    Posted 3 years ago #

    I simply don't understand this stuff at all. Thanks for all the help but I'm just too clueless to do this.

  14. DarrenBachan
    Member
    Posted 3 years ago #

    I put under custom structure "/ %postname%" cause I saw something like that on the wordpress site when looking at permalinks...I don't know cause that looks so wrong.

  15. stvwlf
    Member
    Posted 3 years ago #

    there is not supposed to be a space between the slash and the rest of it

    /%postname%/

    you can copy and paste it from here into the custom permalinks field

  16. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Try reading Using_Permalinks.

  17. DarrenBachan
    Member
    Posted 3 years ago #

    ok so I made it "/%postname%/" and saved the changes and refreshed then made a new page called "test123" and pasted the contact form code in there and it created the permalink "http://www.darrenbachan.com/test123" and when I view it I still get the 404 error.

  18. stvwlf
    Member
    Posted 3 years ago #

    I suggest you contact your webhost to see if there is something in your server configuration that is preventing permalinks from working correctly. Normally this is a no brainer. You seem to be doing all the right things so it may not be you or WordPress that is the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic