How to redirect login page

I have a link that required the user to login first to enter it and I also have my own login page. But the system login page still keeps to appear, I don’t find system login page so I can redirect it to my own login page. Here I attach screenshots of the system login page and my own login page.

Are you using any code? If yes then please post it here.

Just making sure: you have set this up correctly already, right?

import wixWindow from ‘wix-window’;
import wixUsers from ‘wix-users’;
$w.onReady( function () {
if (wixUsers.currentUser.loggedIn) {
} else {
wixWindow.openLightbox(“SignIn”)
}
});

Yes, my signup lightbox already redirect to the right lightbox, but the problem is with my login light box