• Resolved Chiara Aiola

    (@aiolawp)


    Hello,

    Your plugin doesn’t work with the bedrock stack, because the function get_site_url() returns the home url with the /wp path appended (see https://discourse.roots.io/t/site-url-returning-wp/12270).

    For this reason, every time that the function is used in the plugin to create the url to the wp-json path it returns www.mydomain.com/wp/wp-json/wslu-social-login/

    An alternative could be to use get_home_url instead.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Reedwanul Haque

    (@reedwanul)

    Dear @aiolawp ,

    Thanks for reaching out to us.

    I understand your concern and have forwarded the issue and suggestion to the development team for further investigation. They are currently looking into it. I will keep you updated as soon as I receive any feedback from them. Your patience and cooperation in this matter are greatly appreciated.

    Best Regards,
    Reju

    Thread Starter Chiara Aiola

    (@aiolawp)

    Dear @reedwanul ,

    thank you for your answer and I hope the development team can fix this issue.
    Temporarly I solved my problem using this workaround:

    added this rule to .htaccess

    RewriteRule ^wp/wp-json/(.*) /wp-json/$1 [R=301,L]

    In this way I can redirect all the traffic to the wrong address to the correct one.

    Thank you,

    CHiara

    Plugin Support Reedwanul Haque

    (@reedwanul)

    Dear @aiolawp,

    I hope you’re doing well! I’m glad to hear you found a temporary solution. Our dev team is still working on this issue, and once it’s fixed and passes QA, we’ll release a new version. Stay tuned for updates!

    Best Regards,
    Reju

    Plugin Support Reedwanul Haque

    (@reedwanul)

    Dear @aiolawp,

    I hope you are doing well, and I’m glad to inform you that the issue has been fixed with the official release of a new version. Please update to the latest version. Your patience and cooperation throughout this process are greatly appreciated.

    Feel free to let me know if you have any other questions or need clarification.

    Best Regards,
    Reju

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.