redirect wordpress core login
To redirect the WordPress core login, you can follow these steps:
Open your WordPress website's root directory using an FTP client or File Manager in your hosting control panel.
Locate the wp-config.php file in the root directory and open it for editing.
Add the following code snippet just before the line that says "/ That's all, stop editing! Happy blogging. /":
define('RELOCATE', true);
define('WP_HOME', 'http://newdomain.com');
define('WP_SITEURL', 'http://newdomain.com');
Replace 'http://newdomain.com' with the URL where you want to redirect the WordPress login.
Save the changes and upload the modified wp-config.php file back to your server.
Now, you need to access your WordPress website using the new URL (http://newdomain.com). This will update the WordPress settings and database to reflect the new URL.
After accessing your website using the new URL, you can remove the code snippet added in step 3 from the wp-config.php file.
By following these steps, you can redirect the WordPress core login to a different URL.