| 开发者 |
MachineITSvcs
MachineProSEO |
|---|---|
| 更新时间 | 2025年6月24日 11:13 |
| 捐献地址: | 去捐款 |
| PHP版本: | 2.5 及以上 |
| WordPress版本: | 6.8.1 |
| 版权: | GPLv2 |
| 版权网址: | 版权信息 |
woo-wp-login folder to the /wp-content/plugins/ directoryIf you've ever wanted to utilize a custom login page, and you currently have an eCommerce site using WooCommerce, this is the plugin for you.
It redirects the standard wp-login.php page to your default WooCommerce "My account" page, which is set in the Dashboard > WooCommerce > Settings > Advanced tab.
This plugin is built to check first if WooCommerce is in fact installed and active using the is_plugin_active() function (Please note that this plugin includes "wp-admin/includes/plugin.php" in case it is not already). Next, this plugin will check if the "My account" option in WooCommerce Settings is set. Only after both of these dependencies are met will the plugin actually redirect your wp-login.php page. If you decide to deactivate WooCommerce, or unset the "My account" page, no worries! Your site will continue to function normally, using the standard wp-login.php page.
We keep them, of course! They will be preserved when redirecting to your WooCommerce "My account" page and once logged in, will be used to redirect the site visitors to their desired destinations! This requires no configuration. These redirects will simply be to the initial page that prompted the login. For example, if you attempt to access the Admin Dashboard when logged out, this plugin will redirect the default wp-login.php page to your set WooCommerce "My account" while also getting the redirect query string from the login page in the process, so that upon successful login, you will be redirected to the Admin Dashboard.