Hello @brucewp,
When a Custom Login URL is set, it changes the default WordPress login URLs (/wp-admin, /wp-login.php) to the custom URL of your choice. When enabled, all requests to the default login addresses will be redirected to 404 Not Found. Do you use a Membership plugin or a theme that leads the login pages to the default WordPress URLs?
You can revert to the default login type by using the following snippet in the functions.php file of the active theme:
add_action( 'init', 'remove_custom_login_url' );
function remove_custom_login_url() {
update_option( 'sg_security_login_type', 'default' );
}
Best Regards,
Simeon Boev
Hi, @k3llanved
I know the behavior, but I obtain only 404 responses.
the URL is the correct one (set in config page).
I found a way to rollback in case of a problem thanks!
Also the default page returned 404
My installation is on wordpress directory (I’m in test mode)
My setup: Only this plugin active basic theme (Twenty Twenty-ThreeVersione: 1.0)
I’m a developer so some suggestions also a code-level, to investigate is appreciated
The method
– public function handle_request() {
with mysite/wordpress/wp-login.php – is called
with mysite/wordpress/mycustomlogin – no
- This reply was modified 2 hours, 48 minutes ago by brucewp.
- This reply was modified 2 hours, 44 minutes ago by brucewp.
Hello @brucewp,
The issue could also be caused by a plugin conflict. It usually occurs if there is another plugin setting up a different custom login URL – security plugins or plugins that customize your WordPress login page.
But this is definitely not expected behavior with only SiteGround Security and TwentyTwentyThree installed. I was unable to recreate it on my end.
If you are a SiteGround customer, please contact our Technical Support team. This way we will able to access your website and investigate in detail.
Regards,
Kuzman Stoyanov
