WordPress is friendly to search engines out of the box, but a few settings and leftovers from building a site cause real damage, and nothing in the dashboard warns you. Here are the five we see most, in order of how much harm they do.
1. "Discourage search engines from indexing this site"
Under Settings → Reading there is a checkbox meant for sites still being built. When it is on, WordPress asks search engines not to index the site. It is easy to tick during development and forget at launch. If your site isn't appearing in Google at all, check this first, untick it, save, and clear any page cache.
2. Plain permalinks
Addresses like /?p=123 tell visitors and search engines nothing about the page. Under Settings → Permalinks, choose "Post name". WordPress redirects old ?p= links for you, but on an established site make the change at a quiet time and resubmit your sitemap in Search Console afterwards.
3. Image attachment pages
Older WordPress sites give every uploaded image its own page (?attachment_id=…) with little more than the picture. A site with a few thousand images can have thousands of these thin pages. WordPress 6.4 turned them off for new installs, but older sites keep them. Yoast (Settings → Advanced → Media pages) and Rank Math (General Settings → Links → Redirect Attachments) can switch them off and redirect each one to the image.
4. Search results and thin archives in Google
Your site's search page (/?s=anything) can be created for any word, and spammers use that to get odd phrases indexed under your domain. Author archives on a one-author site and tag archives without their own text mostly repeat posts that already rank. Set internal search results to noindex in your SEO plugin, and author archives too if only one person writes. Keep tag archives indexable only if you give them an introduction of their own.
5. Everything filed under "Uncategorized"
Every WordPress site starts with a category called Uncategorized, and posts land there when nobody picks one. That category gets its own page and can appear in URLs and breadcrumbs, telling Google nothing about your topic. Rename it to something real under Posts → Categories (change the slug too), then bulk-move posts to proper categories.
Bonus: the XML sitemap
WordPress has had a built-in sitemap at /wp-sitemap.xml since version 5.5, and SEO plugins replace it with their own (often /sitemap_index.xml). Open it in your browser to make sure it loads, add a Sitemap: line to robots.txt, and submit it in Google Search Console.