• I’ve used Buddypress on my site before and reactivated the plugin today. While setting it up, I was logged out of my site. For awhile I had a white screen only. Now I can see my site, but the login page isn’t set up, so it’s just a blank page! wp-admin and wp-login, both redirect to the login page. I accessed my site files via FTP and tried the following:
    Renamed the plug-ins folder to plugins.xxx.
    Uploaded a previous backup of my htaccess file.

    I remember I choose the setting to disable the wp-login in the Snax plugin and my security and firewall plugin could also be the culprit, but disabling those plugins only was no help.

    I run a news website, so accessing it ASAP to update the news is important. ??.

    Is there any other way to get to the dashboard of my site?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Serena Zehlius

    (@sazmarketing)

    My hosting provider is IONOS and their support department cannot help me with WordPress.

    this is an old thread but they posted a possible solution to your problem.
    Have no ideal if it works. Here the link to the thread followed by the solution that was posted.

    https://buddypress.org/support/topic/how-to-disable-the-registration-function-of-buddypress/

    What you will need to do is first create a bp-custom.php file (make sure you add the opening and closing tags at the top and bottom ) and put it in your plugins folder, then paste the code between the PHP opening and closing tags and save.

    /*disable registration bp */
    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    
    add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-login.php?action=register'; 
        }
    Thread Starter Serena Zehlius

    (@sazmarketing)

    Thank you for trying to help! Looks like this is just for the registration part. I have a bp-custom.php file already with codes fixing parts of Buddypress. I tried deactivating Buddypress and all plugins but it didn’t help. It seems I was logged out before I had a chance to add the login page shortcode, so https://addictedtopolitics.com/login is the login page with only the title and no login form. I disabled WP-login in the Snax plug-in, and possibly in my security/firewall plugin, but deactivating all plugins didn’t help. Attempting to get to WP-admin and WP-login redirects to the login page URL above. I’ve done every trick I could find online and nothing works. I’ve added extra php memory in WP-config, tried debugging by adding log functionality in WP-config, Uploaded a backup of htaccess taken before I made the changes yesterday.. it started with all white screens, then I got back to having the website show the first time I disabled the plug-ins folder. I renamed it plugins.xxx, then removed the .xxx and am where I’m at now. My hosting won’t help me because I use WordPress. And WordPress won’t help me because my site isn’t hosted here. I’m SO UPSET because it’s a news site that I update with recent news stories twice a day and now I can’t access the dashboard! ?? I backup my site using updraft. Is there a way to upload a backup version of the entire site using FTP? That’s how I was able to try all of those things yesterday. Praying someone can help me! I don’t mind giving access to the admin account (I have one I made for Squirrly SEO to fix something once), but there’s no way to login anyway.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot access wp-login or admin’ is closed to new replies.