• Resolved mikethome

    (@mikethome)


    I’m sure this is on my side but anyone else able to fix the 401 error I get when using **loginurl** in an email notification?

    {“code”:”rest_unauthorized”,”message”:”Only authenticated users can access the REST API.”,”data”:{“status”:401}}

    Is there another wildcard I can use to send the user to just the base url?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @mikethome,

    Sorry it seems to be a problem from another plugin because the URL generated by this wildcard by default is not related at all with REST-API.

    Did you try to deactivate all the other plguins and use a standard theme to test it?

    Thread Starter mikethome

    (@mikethome)

    Haven’t tried that yet. It appears that something is adding on /wp-login.php to the end of the actual site url. I’m using WP SMTP to send emails, so I’ll start there.

    Could also be a plugin that forces login. I’m pretty new at this so any advice is welcomed!

    Plugin Author Javier Carazo

    (@carazo)

    @mikethome,

    I do not think either of those two plugins can be responsible, but you must try.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘**loginurl** in email message getting error’ is closed to new replies.