I need to redirect www.example.com to example.com. I have a custom domain with SSL, https enforced. Http requests are being redirected to https and working as expected. Where, or how, do I configure a redirect to get the www.example to redirect to example.com?
The WordPress site was installed on App Services as described here:
https://learn.microsoft.com/en-us/azure/app-service/quickstart-wordpress
This version of the the installation uses PHP v8 on nginx. As mentioned, I have a custom domain with example as the A record and www.example as a cname on that domain. Each is secured with individual free SSL certificates from App Services, with bindings. The app is configured to enforce https.
Any assistance would be greatly appreciated.