WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Landing page URL if installed in subdirectory

[Resolved] Landing page URL if installed in subdirectory

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

    @rinatkhaziev

    Thanks for detailed bug report I will definitely look into it and fix in the next release.

    Tustinuggee Thlocco
    Member

    @zharleydudegmailcom

    Thank you for this great plugin.

    Am able to see the Post & Media UGC files uploaded, but Post does not have the image, & in Media UGC files, the ‘Re-Attach’ seems to do nothing but send me back to the same Media UGC files webpage, with the following link: http://www.jacksoncountycreeks.org/wp-admin/upload.php?page=manage_frontend_uploader#the-list

    Working to try and get the media file ‘connected’ to the Post, and the ‘Re-Attach’ doesn’t seem to work….

    Please advise when time permits.

    Thank you,

    Tim – JacksonCountyCreeks.org

    Plugin Author Rinat Khaziev
    Participant

    @rinatkhaziev

    Hey markmacallister,

    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.

    geloquence
    Member

    @geloquence

    Hello,

    I just downloaded this plugin and i love it, but i can’t seem to figure out to get the redirect to work properly.

    this is what i have:

    [fu-upload-form success_page=”http://www.prolific.online.com/thank-you-for-your-submission/”]

    not sure what i am doing wrong.

    thanks for the help!

    Plugin Author Rinat Khaziev
    Participant

    @rinatkhaziev

    Hey geloquence,

    For security reasons success_page will redirect only to a page on your site. E.g. if you your site is site1.dev success_page that points to site2.dev won’t work.

    geloquence
    Member

    @geloquence

    It keeps redirecting to my wp-admin page, which i obviously do not want members to go. Can you please guide me in the right direction?

    Plugin Author Rinat Khaziev
    Participant

    @rinatkhaziev

    This is expected behavior of wp_safe_redirect (either redirect to allowed domain or redirect to wp-admin if domain is not allowed).

    The easiest way to figure out domain to use would be just removing “/wp-admin/” part.

    E.g. if your admin has URL of
    http://my.site.dev/subfolder/wp-admin/

    the URL in success_page should start with
    http://my.site.dev/subfolder/

    Probably you’re trying to redirect to
    http://www.my.site.dev/subfolder/ which is technically not whitelisted URL.

    Make sense?

    geloquence
    Member

    @geloquence

    completely understand what you are saying…problem is, there is no subfolder…

    Plugin Author Rinat Khaziev
    Participant

    @rinatkhaziev

    I need some more information to try to help you

    what’s your wp-admin url? can you please post full shortcode that you use?

    geloquence
    Member

    @geloquence

    my wp-admin url is: http://prolific-online.com/wp-admin

    here is the full shortcode I used:

    [fu-upload-form success_page=”http://prolific.online.com/thank-you-for-your-submission”]

    Full Name
    [input type=”text” name=”post_title”]

    Pen Name (optional)
    [input type=”text” name=”post_title”]

    Title of Story
    [input type=”text” name=”post_title”]

    Story Logline (in 140 characters or less)
    [input type=”text” name=”post_title”]

    Story Synopsis (in one paragraph or more)
    [textarea name=”post_content”]

    Story Genre(s)
    [checkboxes name=”foo” class=”checkboxes” description=”choose 3-5″ values=”adventure:Adventure,coming of age:Coming of Age,crime:Crime,drama:Drama,dystopian:Dystopian,erotica;Erotica,fantasy:Fantasy:historical:Historical,horror:Horror,lgbt:LGBT,mystery:Mystery,new adult:New Adult,paranormal:Paranormal,religious:Religious,roman a clef:Roman a Clef,romance:Romance,sci-fi:Sci-Fi,steampunk:Steampunk,suspense:Suspense,teen:Teen,thriller:Thriller,urban:Urban,young adult:Young Adult”]

    Story Tags (separate with commas)
    [input type=”text” name=”post_title”]

    Story Length
    [checkboxes name=”foo” class=”checkboxes” description=”choose all that apply” values=”short story:Short Story,novella:Novella,incomplete novel:Incomplete Novel,complete novel:Complete Novel,part of a series:Part of a series”]

    Content Rating
    [checkboxes name=”foo” class=”checkboxes” description=”ratings” values=”adult content:Adult Content,graphic language:Graphic Language,graphic violence:Graphic Violence,mild sexual content:Mild Sexual Content,strong sexual content:Strong Sexual Content,suitable for all ages:Suitable for all Ages”]

    Send us the first 1-3 chapters of your story for review.
    [input type=”file” name=”story”]

    [input type=”submit” class=”btn” value=”Submit”]
    [/fu-upload-form]

    thanks!

    Plugin Author Rinat Khaziev
    Participant

    @rinatkhaziev

    [fu-upload-form success_page="http://prolific.online.com/thank-you-for-your-submission"] should be
    [fu-upload-form success_page="http://prolific-online.com/thank-you-for-your-submission"]

    geloquence
    Member

    @geloquence

    Wow, I feel silly. What an easy fix. Thank you for all your help. Unfortunately i have a new issue now.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] Landing page URL if installed in subdirectory’ is closed to new replies.