I’m experimenting with Cloudflare Pages. It created a subdomain on
pages.dev that has duplicate content to the custom domain.
I’d like to redirect the
pages.dev subdomain to the custom domain with
301 headers in order to eliminate the possibility of search engine problems due to the duplicate content.
Is there a way to do that?