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.

Preview using wrong path

  1. The preview of the form is using the wrong path on my wordpress installation. Wordpress is installed in a separate directory. But the preview attempts to use this separate directory as part of the url for previewing the form. When I remove this directory from the url it works.

    It should be something stupid, but please help me. Note: it is not the index.php file and .htaccess : those have been adapted in accordance with the wordpress installation guidelines.

    Posted 11 years ago on Thursday February 14, 2013 | Permalink
  2. Can you tell us what modifications you made, and let us know what the URLs are that you are seeing when you go to preview a form?

    Also, what are your setting for WordPress Address (URL) and Site Address (URL) from the General Settings page.

    Posted 11 years ago on Monday February 18, 2013 | Permalink
  3. URL preview: http://www.uc-smartenergy.com/wp/?gf_page=preview&id=1
    The one that works (hand modified): http://www.uc-smartenergy.com/?gf_page=preview&id=1
    The general settings:
    WP Address: http://www.uc-smartenergy.com/wp
    Site Address: http://www.uc-smartenergy.com

    In the root directory the index.php file has been modified to add the "wp" directory in the path as per the wordpress information for such an installation: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. The rest all works correctly (and it does not if you do not set this right), so I cannot imagine this is the cause.

    It is not a major issue since of course it is possible to work without the preview; nevertheless it is a bit "sloppy".

    Posted 11 years ago on Monday February 18, 2013 | Permalink
  4. Richard Vav
    Administrator

    I also have wordpress installed in a subdirectory but I am not experiencing the incorrect preview url issue you are having, you may want to take another look at your htaccess file, it sounds like you have a rewrite rule in place

    Edit: If you check in your wp folder do you still have an index.php file, if I remember correctly if you move that file to the site root instead of just copying it you can get problems similar to what you have described.

    Posted 11 years ago on Monday February 18, 2013 | Permalink
  5. I'll ask the development team about this to see if they have any thoughts.

    Posted 11 years ago on Monday February 18, 2013 | Permalink
  6. After talking with the development team, this issue could be caused by not properly following the advice in item 7 in the documentation you linked to:

    Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address).

    Have you done that or done something different?

    Posted 11 years ago on Wednesday February 20, 2013 | Permalink
  7. True, I am really impressed!! Thanks

    Posted 11 years ago on Wednesday February 20, 2013 | Permalink
  8. Are you all set now?

    Posted 11 years ago on Saturday February 23, 2013 | Permalink