How to Regain Access to WP-Admin After Coming Soon Page Lockout

If you find yourself locked out of your WordPress admin panel after the expiration of a Coming Soon page, don’t worry – you’re not alone. This situation often arises when users forget to input a custom URL, especially after changing the standard wp-admin to a custom path, leading to login errors and the frustrating “This site can’t be reached” message. In this guide, we’ll walk you through the steps to regain access to your WP-Admin effortlessly.

Understanding the Issue:

The error message indicates a problem with the URL, suggesting a typo or misconfiguration. Since you’ve changed the default wp-admin URL to a custom one (in this case, /backdoor), the login process may be failing due to this modification.

Step 1: Accessing the WordPress Files:

To rectify this issue, you’ll need to access your WordPress files. This can be done through various methods, including FTP (File Transfer Protocol) or through your hosting provider’s file manager. Once you’ve gained access, proceed to the next steps.

Step 2: Locating the Functions.php File:

Navigate to your theme’s folder and find the functions.php file. This file contains essential functions that can be used to modify WordPress behavior.

Step 3: Adding a Custom Function:

Open the functions.php file and add the following code snippet:

php Code

function custom_login_url() {
    return home_url('/backdoor');
}

add_filter('login_url', 'custom_login_url');

This code snippet ensures that the login URL points to the custom /backdoor path.

Step 4: Save and Upload:

Save the changes to the functions.php file and upload it back to your server. Ensure that you overwrite the existing file.

Step 5: Access WP-Admin:

Now, try accessing your WP-Admin using the custom URL (/backdoor). You should be able to log in successfully without encountering the previous error.

Conclusion:

By following these steps, you should regain access to your WordPress admin panel even after being locked out due to an expired Coming Soon page. Remember to carefully input the custom URL in the functions.php file to avoid future login issues.

In case the problem persists, consider reaching out to your hosting provider’s support for additional assistance.

Was this helpful?

Thanks for your feedback!

Leave a Reply

Your email address will not be published. Required fields are marked *