title: Next.js redirect www to non www
body: <p>I have been trying to find a workable solution this searching google but can't find anything solid. I am hosting my Next.js application on Vercel.</p>
  <p>When I run a seo check it moans about me having the site available on www and non www and says I should pick one and get it to redirect so in my case, if someone types in <a href="http://www.example.com" rel="nofollow noreferrer">www.example.com</a> I would prefer it left of the www.</p>
  <p>Since I don't have a htaccess file I can do this in, how would I do it?</p>
  <p>Not sure if it matters, but I am using WordPress as my backend aka: Headless Wordpress</p>