PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

404 Error when submit

  1. silverlight001
    Member

    Hi,

    I get a 404 error on submit from this page - any ideas please?

    http://www.circleexpress.co.uk/fuel-levy.html

    Thanks

    Posted 13 years ago on Wednesday October 12, 2011 | Permalink
  2. I get a 404 error just trying to visit your page.

    screenshot: http://bit.ly/plUOO4

    This is most likely a permalink error in your WordPress setup.. you should check to make sure the permalinks are set up correctly and working properly. I doubt it has anything to do with your forms.

    Posted 13 years ago on Wednesday October 12, 2011 | Permalink
  3. silverlight001
    Member

    Hi Kevin,

    Please try again:

    http://www.circleexpress.co.uk/fuel-levy.html

    When hovering over the submit it goes to an invalid link e.g.

    http://www.circleexpress.co.uk/index.php/fuel-levy.html

    Not sure why the index.php is getting added in ?

    Posted 13 years ago on Wednesday October 12, 2011 | Permalink
  4. This is going to be a web server URL rewriting issue or an .htaccess configuration file issue.

    The problem is the form action is being set to:

    /index.php/fuel-levy.html

    Instead of:

    /fuel-levy.html

    This is because the function used to get the URL is returning the index.php version due to either URL rewriting configuration or .htaccess rules.

    I see you are hosted on a Windows IIS server. This is most likely the issue. While it appears rewriting is working, at the code level it is not. It's returning index.php/ at the front of every link. So this is a web server URL rewriting issue.

    You will need to discuss this with your web host and I highly recommend avoiding the use of Windows IIS based hosting for WordPress sites.

    Posted 13 years ago on Wednesday October 12, 2011 | Permalink
  5. silverlight001
    Member

    Hi,

    The host has confirmed that nothing has changed on their end and I;'m guesssing this issue came about after Gravity was upgraded to the latest version and WordPress was upgraded at the same time.

    Permalinks work fine on the rest of the site - the issue appears to be with Gravity forms not "conforming" to the permalink settings.

    I can't move this site off IIS but I agree with your recommendation

    Posted 13 years ago on Friday October 14, 2011 | Permalink
  6. silverlight001
    Member

    Hi,

    Managed to find a workaround - I put the form on a Page instead of a post - it now works

    Posted 13 years ago on Friday October 14, 2011 | Permalink
  7. Glad you found a workaround.

    Posted 13 years ago on Friday October 14, 2011 | Permalink

This topic has been resolved and has been closed to new replies.