Ensure that Google has access to the website
WordPress can prevent Google from accessing/reading/indexing your website. Ensure that Discourage search engines from indexing this site option located in the WordPress Dashboard → Settings → Reading is not enabled.
Add the website to Google's Search Console
For Google to be able to correctly index a website, the website should be added to Google's Search Console.
Login to your Google Search Console account
From the Search Form, add the website using the Add Property option
Select the URL prefix option for the Property Type:
Enter your website domain. Example:
https://my-domain.comand click Continue
Follow the on-screen steps to Verify the Ownership of the domain
Download the provided HTML file and upload it to the Root of your website.
Click on Verify The Ownership and the verified message will be displayed
Configure the website's SEO
For each page/post/product and project, set the SEO details
Go to the Rank Math SEO → Sitemap Settings
Click on the Sitemap Index URL and copy its address to your clipboard
Go back to Google Search Console
Click on Indexing → Sitemap
Add the sitemap URL
Click on Submit
If everything goes well, the confirmation message will be displayed: