• Hi!

    I have a website that is running on another server, and we are accessing it using a proxy rule.

    Everything is working great, except Polylang. All internal links are pointing to /server.com/hostedsite. Polylang is the only plugin that is pointing the link to /server.com/ when we try to change languages.

    This issue is causing three errors:
    – “Too many redirects” on the homepage
    – When I try to re-run Polylang Setup, the second step is pointing to /wp-admin/admin.php?page=mlang_wizard&step=media instead of /hostedsite/wp-admin/admin.php?page=mlang_wizard&step=media.
    – When I try to select another language in the admin panel, the link points to /wp-admin/?lang=es instead of /hostedsite/wp-admin/?lang=es

    Any idea if it is possible to solve this problem?

    Thanks in advance!
    Chris

    • This topic was modified 2 years, 9 months ago by chrislopo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chrislopo

    (@chrislopo)

    It is important to note that all the options in Language > Settings > URL modifications are showing ok. It seems that some Polylang functions are ignoring WP_HOME or WP_SITEURL and pointing the site’s root to / instead of /hostedsite/.

    Thread Starter chrislopo

    (@chrislopo)

    Hi!

    No idea if it is possible to solve this bug?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem when accessing the site via proxy’ is closed to new replies.