This is not a redirect issue.
It is. You have to decide which version of the URL to use and redirect the others to this one.
For example: https://www.siteground.com/kb/how_to_redirect_www_urls_to_nonwww/
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!