• Resolved mklusak

    (@mklusak)


    Hi, I think the plugin redirect function does not cover a possibility of placing WP install to subfolder. I have an example website http://xyz.tld/wpinstall/ and set a secret login slug to “loghere”, with /wp-admin/ redirect set to “you-cant-log-here”.

    Going to http://xyz.tld/wpinstall/wp-admin redirects me to http://xyz.tld/you-cant-log-here … and that’s obviously wrong.

    I think the code:

    wp_safe_redirect( '/' . get_option( 'rwl_redirect_field' ) );

    Should be:

    wp_safe_redirect( home_url( '/' . get_option( 'rwl_redirect_field' ) ) );

    … or something similar.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support M Haseeb

    (@haseeb0001)

    Hi @mklusak

    I hope you are doing well.

    Thanks for sharing your request. Let us check your case on our end, and we will get back to you soon.

    Thanks and regards,
    Support Team – WPExperts

    Thread Starter mklusak

    (@mklusak)

    Pleeeeease! Look at this issue! It’s impossible to use this plugin with WP in subfolder. You can’t redirect non-logged user with wp_safe_redirect( '/' ) … it sends him to root folder outside of WP install.

    Plugin Support M Haseeb

    (@haseeb0001)

    Hi @mklusak

    I hope you are doing well.

    Please create a ticket on our technical support channel so that we can connect you directly with our Technical team.

    Looking forward to getting your issue resolved.

    Thanks and regards,
    Support Team – WPExperts

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Redirects to root folder when installed in subfolder’ is closed to new replies.