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 and Select Columns issue

  1. Hi guys,

    Nice plugin, been using it for a few weeks and am very happy with it.

    I've come across an issue with the way your Preview & Select Columns links are created. It has been raised before but I don't believe the fix is the correct solution.

    I and many others always install WP in a sub-folder (e.g. /wp) for some added security, but since your plugin uses 'site_url()' to build it's Preview and Select Column links, these are not going to the correct 'live' URL. The hack fix (which many do not like to do) would be to stick a copy of index.php & htaccess into the sub-folder as-well but that isn't very elegant (to me anyway).

    Using 'home_url()' instead would be a safer function to use to cater for all setup types.
    Right now, because I have a blank index.php in my /wp folder because I do not want 2 entry points, the Preview & Select Columns link only ever return a blank screen.

    Maybe we're the minority, but could you think about changing it?
    I don't believe there are any performance issues related to the change.

    Thanks.

    Posted 11 years ago on Sunday December 9, 2012 | Permalink
  2. Moved to feature requests.

    Posted 11 years ago on Tuesday December 11, 2012 | Permalink
  3. I will bring this to the attention of the development team.

    Posted 11 years ago on Tuesday December 11, 2012 | Permalink
  4. I just heard back from one of the developers.

    We have been back and forth on this one, but site_url() is the correct function to use.

    If you look at the following directions on how to install WordPress in a sub-folder, they tell you to keep index.php and .htaccess at your subfolder (item 7).

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Posted 11 years ago on Tuesday December 11, 2012 | Permalink

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