How to log in to WordPress: WordPress admin login
Usually, a WordPress security plugin is used to rename the WP admin login page. However, it may also happen that the WordPress installation has been corrupted. Thus, errors in the .htaccess file can also manifest themselves in the fact that the WP admin login page is not accessible. In this case, it is advisable to reset WordPress’s .htaccess file. However, caution must be exercised when doing so. Because improper changes to the .htaccess file can have a negative impact on SEO and on top of that expose sensitive page areas.
If the WP admin login page was renamed with a security plugin and the new WP admin login URL was forgotten, you are a bit stumped an admin. Since you cannot log in, it is not possible to deactivate the security plugin from the dashboard. However, as long as you still have access to the WordPress server, there is a trick: deleting or moving the plugin folder sometimes works. This will deactivate the plugin and restore the WP admin login page under the normal address. However, you need to know the name of the plugin for this to work.
If you have SSH access to the WordPress server, it is best to use the WordPress command line interface (WP-CLI). With the help of WP-CLI you can display a list of active plugins and their names. Plugins that rename the WP admin login page often contain one of the terms “Login”, “Hide”, or “Security”. Once you have identified a plugin as a candidate, you can deactivate it via WP CLI command. Alternatively, you can temporarily deactivate all plugins. Let’s look at the individual steps in detail:
- List active plugins: