Answer the question
In order to leave comments, you need to log in
How to change URL by script?
Site: https://kent.club/ is written on Bitrix, when a user tries to authorize, it goes to https://passport.kent.club/
Question: How to make the same scenario on another site, etc. https://passport.mysite.ru/
Answer the question
In order to leave comments, you need to log in
There is just a link to https://passport.kent.club/ .
Make a subdomain of your mysite.ru called passport. Already on this subdomain, do everything you need and put a link on the main site of the form
<a href="https://passport.mysite.ru/">Войти</a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question