Use the forum search feature, magnifying glass icon upper right, to find a number of past discussions on the remotewd redirect issue.
https://community.wd.com/search?q=remotewd%20category%3A252
My Cloud OS 5 HTTPS Redirects
https://community.wd.com/t/my-cloud-os-5-https-redirects/259031
Also see the OS5 solutions knowledgebase article page which has several articles listed for the redirect issue.
My Cloud OS 5: Online User Guide and Solutions
https://support-en.wd.com/app/answers/detail/a_id/29633
My Cloud OS 5: Dashboard URL Redirects to HTTPS Device Unique Domain Name
https://support-en.wd.com/app/answers/detail/a_id/29832
My Cloud OS 5: Dashboard URL Doesn’t Redirect to HTTPS Device Unique Domain Name
https://support-en.wd.com/app/answers/detail/a_id/29834