Support » Plugin: All In One WP Security & Firewall » Conflitto LoginPress

  • Resolved jelux

    (@jelux)



    Hi I am writing to indicate a conflict with the “LoginPress” plugin installed on our site. We sent an email to the programmer and he replied like this:

    _____________________

    Adnan wrote:

    @jelux

    I did some findings and seems this should be fixed by the team at “All in One WP Security” plugin devs.

    If you get a chance to talk to them, Tell them to check this file.

    their-plugin/classes/wp-security-wp-loaded-task.php line # 60

    if (is_user_logged_in()){
    wp_redirect(admin_url());
    }

    Why are they doing this check? This is conflicting with the WordPress way!

    _____________________

    we also paste the link to the post to read it.

    Post Link: https://wordpress.org/support/topic/forbidden-35/#post-10227998

    we wanted to know kindly if you could give us some information. Thanks so much

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author wpsolutions

    (@wpsolutions)

    Hi,
    What is the issue you are seeing?
    When this issue occurs do you have the rename login feature active?

    when the two plugins are active they prevent me from accessing the “appearance> customize” options. instead of seeing the login page to be customized with the “loginpress” plugin, I continue to see the site’s bulletin board.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @jelux, can you share with us what settings you have enabled in the our plugin? This would help us troubleshoot your issue better.

    For example, what Firewall Rules did you enable in the plugin? Did you enable any Brute Force features like Rename Login Page?

    Kind regards

    If you give me an email, I’ll send you the settings file. The never mail and this
    info@jelux.it
    thank you so much

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @jelux, click my name and go to my site. You can contact me via my contact form.

    Try and remove your e-mail address link from your post above. You should try not to share an e-mail address link in WordPress forums.

    Thank you

    • This reply was modified 3 months, 2 weeks ago by  mbrsolution.
    Plugin Author wpsolutions

    (@wpsolutions)

    When this issue occurs do you have the rename login feature active?

    Plugin Author wpsolutions

    (@wpsolutions)

    Hi,
    Since you said the code in “wp-security-wp-loaded-task.php line # 60” is causing your issue you can prevent that code from executing by using one of the hooks in that file.

    Simply add the following code in your theme’s functions.php file:

    add_action('aiowps_wp_loaded_tasks_end', 'remove_aiowps_loaded_actions');
    function remove_aiowps_loaded_actions($AIOWPSecurity_WP_Loaded_Tasks){
    	remove_action( 'login_init', array( $AIOWPSecurity_WP_Loaded_Tasks, 'aiowps_login_init' ));
    
    }

    Let me know how it goes.

    OK thank you very much for your help

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @jelux, does the function shared by @wpsolutions above works for you? Are you able to run both plugins without any issues?

    If yes, can you mark this support thread as resolved.

    Thank you

    OK I managed

    Thank you so much for your help

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.