WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Wp installed in Sub-directory – success landing page url wrong

[Resolved] Wp installed in Sub-directory – success landing page url wrong

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Rinat Khaziev

    @rinatkhaziev

    I have never tested it with sub-directory installs. I’ll check and let you know.

    Thanks. I think it’s a simple edit to the code, I just can’t find the right place.

    Plugin Author Rinat Khaziev

    @rinatkhaziev

    In the mean time you can add success_page shortcode parameter so it looks something like this:
    [fu-upload-form success_page='http://www.24x7secure.com/sites/?page_id=99']

    That’ll force plugin to redirect to that page on upload.

    No the redirect doesn’t work either because it assumes you are installed in the root. I’m installed in a directory.

    Any other ideas?

    If I look at the plugin code it might have something to do with admin_url but I don’t want to break it so I don’t know what to try there.

    Not certain how this got marked resolved. I still have the problem and I’m still looking for a solution.

    I’ve had the same problem.
    I don’t know if this is a robust fix, but it worked for me:

    Plugins->Editor->Frontend Uploader
    Edit frontend-uploader/frontend-uploader.php by removing this line:

    // We need full url, not just query part
    			$redirect_url = home_url( $redirect_url );

    Thanks lupetu, that fixed it. I’m up and running with this plugin thanks to you! Cool!

    Plugin Author Rinat Khaziev

    @rinatkhaziev

    Hey,

    I just released 0.7.6 which should handle redirects properly.

    So something like
    [fu-upload-form success_page="http://mysite.dev/redirect-here/"]
    should work.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Wp installed in Sub-directory – success landing page url wrong’ is closed to new replies.