• Resolved christianoruge

    (@christianoruge)


    Hi.

    I’m building ? bilingual site (wpml) and have encountered some problems with my social login. The problem is that I want to redirect logged in users to the page with their preferred language. These pages have different urls due to language.

    https://www.styrenavn.no is the frontpage in the original norwegian language.
    https://www.styrenavn.no/?lang=en is the frontpage in english.

    In the “Advanced configuration”, custom login redirect url is set to the norwegian redirect page (https://www.styrenavn.no/profilside-kandidat/).

    This seems to triumph my shortcode: [TheChamp-Login redirect_url=https://www.styrenavn.no/profile-page-candidate/?lang=en/”].

    If I change the redirect settings in the advanced settings to “Same page…”, “Home page” or “Dashboard..” this too overrides the redirect settings in the shortcodes. There is no uncheck all the login redirect options and just keep it open.

    Is there a walkaround for this?

    I really hope anyone can help me!!

    Kind regards, Christian

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Heateor Support

    (@heateor)

    Hi Christian,

    You can try toggling the Include Javascript in website footer option. That should make the redirect url of shortcode take priority over the one set at the plugin configuration page.

Viewing 1 replies (of 1 total)
  • The topic ‘Social login multilingual site’ is closed to new replies.