• In case anyone else is using root relative URLs.

    If you are using root relative URLs you need to make a change to the plugin. In particular, Line 72 of authenticate.php should be changed from:

    $config["base_url"] = plugins_url() . '/' . basename( dirname( __FILE__ ) ) . '/hybridauth/';

    TO

    $config["base_url"] = site_url() . plugins_url() . '/' . basename( dirname( __FILE__ ) ) . '/hybridauth/';

    https://www.ads-software.com/extend/plugins/wordpress-social-login/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Miled

    (@miled)

    Could you please explain what “root relative URLs” mean? is it an issue with WSL itself or a conflict with another plugin?

    Thanks!

    Thread Starter mitchell360

    (@hogayoga)

    Not a plugin. There are a number if ways to strip the https://www.yourdomain.com from all URLs in wordpress which makes it easier to have development, testing and production environments.

    There are some plugins. I wrote my own code.

    Regardless, when one does this, all wordpress API calls that normally return https://www.yourdomain.com/rest/of/URL return /rest/of/url

    This is great 99 percent of the time. Just not when you are trying to get a url for external systems…such as social auth redirection and endpoints.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change to address root relative URLs’ is closed to new replies.