I launched an open-source library a couple of months ago. Initially, I used a vercel.app domain since I hadn’t bought a custom domain yet. The website got decent traffic using that. Later, I purchased a new domain, set up the sitemap, robots.txt, and metadata, and even ran it through Lighthouse checks. But Google still isn’t indexing my main domain—it seems to prefer the vercel.app URL . I even set the vercel.app link as canonical, but I’m still seeing this issue:
“Alternate page with proper canonical tag. These pages aren’t indexed or served on Google.”
If you’re seeing issues with indexing, it might be because of how redirects are set up. Make sure that your new domain is redirecting properly to the vercel.app domain or vice versa. Also, check if there are any mixed signals that might be confusing Google.