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.

Form preview 403 error

  1. I have several instances of WP installed in a sub directory (eg: something.ca is installed at something.ca/cms) and when we preview forms in the admin area a 403 error is generated. If I remove the /cms portion in the preview URL everything works fine.

    On line 224 of form_list.php I can see that site_url is being called for the previews, should this not be set to use the bloginfo('url') instead? Or is there something else that I can do to work around this issue?

    Thanks,
    Troy Chaplin

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  2. Do you get the same result when you place the form on a live page?

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  3. Hey Rob,

    No, the forms are displaying properly on the front end. Preview is the only issue, I can edit, view entries and edit notifications without problem, all of which also have the installation path in the URL.

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  4. Sounds like you might be missing Step 7 here:
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Double check that you have the index.php and .htaccess in the subfolder.

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  5. Perfect, it was the missing index.php file. Thanks for the help Rob, much appreciated!

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink
  6. No problem, glad to help!

    Posted 12 years ago on Tuesday August 7, 2012 | Permalink

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