Users kenjdarhan and Yang1 are experiencing unwanted auto-redirects between two domains (e.g., .com and .com.jp or .com.cn) when serving a single Discourse instance. pfaffman suggests modifying the Nginx configuration by removing redirect rules from the SSL template, referencing a guide on multisite setup that includes code to disable forced redirects. denvergeeks requests actual URLs for better troubleshooting. Yang1 confirms trying the suggested fix but still faces issues, prompting pfaffman to recommend sharing the app.yml file, noting that configurations may have changed since the guide was published. The core issue revolves around preventing cross-domain redirects while maintaining multisite functionality.
Hello, I also encountered the issue of redirection when developing a bilingual website in both Chinese and English. For example, the URL of the English website is “https://123.com,” and the URL of the Chinese website is “https://123.com.cn.” When I click to navigate from the English website to the Chinese website, it automatically removes the “.cn” from the Chinese website URL and redirects to the English website “https://123.com.” I am greatly looking forward to your response.