This may have been asked before, but I could not find an answer searching through the forum.
I need to intercept user entered URL’s that reference member pages within my domain. For example, if someone enters “natuallakes.net” that will go to my home page where there is custom code to register or login. If someone enters “naturallakes.net/members-only” this points to a members only page and should be redirected to the home page. The behavior I see is that the default Wix login/sign-up page displays before any site code or page code executes. If I dismiss the Wix default, then my site code executes and does the redirect.
There does not seem to be a way to bypass the Wix default login page, which could be very confusing to my end users. I have looked at routers, but those appear to be dependent upon a URL prefix to execute. This is a case where the user is entering the URL in the browser, so a prefix is not dependable.
Any assistance appreciated.