Hello, our Discourse website is installed on a subdomain (servis.printel.com.tr), and we have a corporate website on the main domain (printel.com.tr). When we try to log in to Discourse, it redirects us to the blog page on the main domain. Do you have any solutions for this issue?arch.
AI-generated summary
The Log in button Redirects Issue discussion revolves around a Discourse website experiencing login redirects. Yılmaz_Saraç explains that when trying to log in, they are redirected to the blog page on the main domain. Don suggests disabling the enable DiscourseConnect setting to resolve the issue.
However, simon notes that if DiscourseConnect is desired for single sign-on with the corporate website, configuration help can be found in the Support > WordPress category. simon also identifies a possible issue with Woocommerce installation causing the redirect.
Yılmaz_Saraç asks how to change the setting without logging in, as they are stuck in a redirect loop. simon provides a solution by accessing the /u/admin-login page, which sends a one-time login link to the admin email address, allowing them to disable DiscourseConnect.
Hello ![]()
It looks like you have enabled DiscourseConnect.
Disable the enable discourse connect setting will allows direct login/registration to the forum.
If you want to keep DiscourseConnect enabled so that users login to your Discourse site through your website, you can get some help with configuring that by posting in the Support > WordPress category. What I’m finding when I click your Discourse site’s login button is that I’m redirected to your website’s homepage instead of to its login page. That may be due to an issue related to having Woocommerce installed on your Website. If so, there should be a way to get that fixed.
Is there a way to change that setting without logging in? Because I can’t log in, it redirects.
Go to /u/admin-login on your domain. For example, https://forum.example.com/u/admin-login
Enter your admin email address into the form that appears. A one time login link will be sent to you. If for some reason that doesn’t work, you can also disable Discourse connect from the Rails console. Try disabling it by using the login link first.