What else should I do to get indexed by Google?

I have recently launched my web application using Nuxt and have optimized all SEO factors such as sitemap, robot.txt, titles, keywords, and canonical URLs. Despite submitting my sitemap to Google Search Console (GSC) successfully and achieving a Lighthouse score of 100, I am unable to find my website on Google search results or when using the "site:mywebsite.com" search. I have two URLs, one with "www" and the other without, where the main one is with "www" and the other redirects to it with a 308 (permanent redirect) code. Despite GSC indicating that both URLs can be indexed, neither are actually indexed, and I am facing an issue of "Duplicate without user-selected canonical" with the "www" URL. If anyone is willing to help further investigate, I can provide my URL. Thank you!

The “Duplicate without user-selected canonical” issue in Google Search Console indicates that Google has identified two versions of your website as potentially duplicate content. While you’ve set up a 308 redirect from the non-www URL to the www URL, Google might not be fully recognizing this redirect.

To address this issue, ensure that your website consistently uses the “www” prefix across all pages.

Additionally, review the following points:

  • Ensure 308 Redirect Functionality: Double-check that the 308 redirect from your non-www URL to the www URL is working correctly. Test it using tools like the “HTTP Status Code Checker” to confirm that the redirect code is being returned properly.
  • Update Canonical Tags: Ensure that all pages on your website use the canonical tag pointing to the www version of the URL. This helps Google understand that the www version is the preferred URL.
  • Submit Sitemap: Resubmit your sitemap to Google Search Console after implementing the above steps. This will notify Google about the changes and encourage it to re-crawl your website.
  • Check for Other Issues: Analyze the Lighthouse report for any other potential issues that might be hindering indexing. Pay particular attention to mobile-friendliness, speed, and accessibility.

By addressing these points, you can improve your website’s chances of being indexed by Google and appearing in search results.