WordPress.org

Support

Support » WP-Advanced » Contact Form 7 doesn’t work with Permalink

Contact Form 7 doesn’t work with Permalink

  • gbejarano
    Member

    @gbejarano

    I have configured my wordpress to use Permalinks and the Contact Form stopped to work, any clue? is there anyone who has the same problem?

    Thank you,

Viewing 15 replies - 1 through 15 (of 26 total)
  • Samuel B
    Participant

    @samboll

    where is the contact form?
    page? sidebar?

    gbejarano
    Member

    @gbejarano

    It’s in a post.

    gbejarano
    Member

    @gbejarano

    actually I get a 404 page. that’s what happens

    You have it in a post? Isn’t it used on a page?

    I have several sites with pretty URL’s and contact form 7 without problems.

    designbuyers
    Participant

    @designbuyers

    Yes, its true..
    after i edit permalinks i came back to see the contact form i just do in pages not working in website it shows me [contact-form 1 “Contact form 1”]
    i mean the code not the form as before i edit the permalinks ..

    Nope, it a WP-based error you’re receiving. nothing to do with CF7.

    I’ve been using permalinks for like light years, and no problem with or without them in CF7.

    Try this:
    1. Enable Permalinks, make sure you specify relevant permissions in your .htaccess file to display fancy links
    2. Clear all you website cache if you’re using a caching mechanism e.g. Super Cache, Widget Cache etc..
    3. Clear all your browser Cache, cookies etc…
    4. Reload the page.

    Hope this helps.

    designbuyers
    Participant

    @designbuyers

    I am using google gears dose it effect it ?

    gabemortoncook
    Member

    @gabemortoncook

    I think this issue depends on how your server is handling your permalinks.
    I am running wordpress on IIS and have to use a 404-handler to create pretty permalinks. See here. This breaks Contact Form 7 (I just get a spinning arrow, and no validation or send request occurs).

    Any thoughts on a way around this?

    gabemortoncook
    Member

    @gabemortoncook

    I found a fix for my issue.

    In wp-contact-form-7.php

    I modified line 921 to the following:

    $url = '/index.php/'.parse_url($_SERVER['REQUEST_URI']);

    This adds back in the ‘index.php’ that was being removed by my 404 handler.

    gabemortoncook
    Member

    @gabemortoncook

    just updated… this change is now on line 35 of /includes/classes.php

    I am also having this issue.

    It is strange, the first contact form works without issue. The second contact form redirects to a 404 page instead of to the main website. Both forms are embedded in pages.

    I also have permalinks enabled.

    I will give this fix a go.

    OK, the above doesn’t do anything for me. You can see for yourself what is going on here.

    http://gotyou.co.uk/photographers/

    Navigating directly to here works fine.

    http://gotyou.co.uk/photographers/#wpcf7-f3-p411-o1

    If you submit the form the above url happens but a 404 is displayed.

    Please note: I made a thread about this a while ago but got no responses. I am not trying to hijack this thread. However the person who posted this thread originally hasn’t responded in a month and I believe that this is a more common issue than people currently think. Especially when it comes to making more than one form on a website. I believe it would be good to have a definitive solution for this so others will be able to solve their problems.

    kimblim
    Member

    @kimblim

    I have the same problem right now – did anyone ever find a solution for this problem?

    threedogmoon
    Member

    @threedogmoon

    My problem: I hard coded a flash music player into the sidebar on these two sites: http://www.youmademedoit.com and http://www.threedogmoon.com.

    On threedogmoon.com, the player shows up on any and every page. If you click on a category for example, it is there.

    On youmademedoit.com, the player only shows up on the home page. If you click on a category or the contact page, then it does not appear.

    I found the problem: I changed the permalinks settings from default to custom — to /%postname%/ — that made flash mp3 player disappear on all but the home page.

    I checked .htaccess and it is correct. It is being written to with no probs. I also called my server company to see that my server has AllowOverride Enabled. It does….

    Any ideas??????

    David Yeagley
    Member

    @david-yeagley

    I’m sorry to intrude, but due to inadequate instructions ande general geekish procedures found on WordPress, I cannot start a forum or discussion question. I have to piggy-back on someone else’s. I’m terribly sorry. I tried.

    Today, suddenly, Sunday, Oct. 11, 2009, I cannot work my own WordPress dashboard. I’m trying to edit a post (two days old–I found a misspelled word), and when I press “update”, I get a window in the middle of the screen that says my website host “Magic” requires a user name and password! I won’t accept any I have or use.

    Sounds like a virus or something to me. I’ve never seen it before. Here is the quote in the window:

    The server http://www.badeagle.com at Magic requires a username and password.

    Warning: This server is requesting that your username and password be sent in an insecure manner (basic authentication without a secure connection).

    Since WordPress is please to have no communication with customers, can any fellow user help me understand what to do here? I’ve never seen this before.
    Thanks.
    David Yeagley

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Contact Form 7 doesn’t work with Permalink’ is closed to new replies.