Knowledgebase

How to add your site to Google Search Console and submit a sitemap

Google Search Console is the free tool that tells you how Google sees your website: which pages are indexed, which search words bring visitors, and which errors stop pages from showing. This guide shows you how to add your site to Google Search Console, verify that you own it, and submit a sitemap so Google finds all your pages faster.

Before you start

  • A Google account (a Gmail or Google Workspace address). Use a company account, not a personal one that may leave with an employee.
  • Access to your domain's DNS (for example the Zone Editor in cPanel, or Cloudflare if your DNS is there).
  • Your site must already be online over HTTPS. If not, see How to get a free SSL certificate (AutoSSL).

Step 1: Add a property

  1. Go to https://search.google.com/search-console and sign in.
  2. Click Add property. You will see two options:
    • Domain: covers the whole domain, with and without www, over HTTP and HTTPS, and all subdomains. This is the recommended choice. It needs DNS verification.
    • URL prefix: covers only one exact address, such as https://www.yourcompany.com/. It allows more verification methods (HTML file, meta tag, Google Analytics, Google Tag Manager).
  3. For a Domain property, type your domain only, without https:// or www, for example yourcompany.com, then click Continue.

Step 2: Verify ownership with a DNS TXT record

  1. Google shows a TXT value that starts with google-site-verification=. Copy it.
  2. Log in to cPanel (how to log in to cPanel) and open Zone Editor. Next to your domain, click Manage, then add a new TXT record.
  3. Set the name to your domain itself (for example yourcompany.com.) and paste the value Google gave you. Save.
  4. Go back to Search Console and click Verify. If it fails, wait 15–60 minutes and try again; DNS changes can take time to spread.
Note: Keep the TXT record in place after verification. If you delete it, Google can later remove your access. You can have several TXT records on the same name (SPF, other verifications), so you do not need to remove anything else. More about records: DNS records explained.

Step 3: Find your sitemap address

A sitemap is an XML file that lists the pages you want Google to crawl. Common addresses:

WebsiteUsual sitemap address
WordPress without an SEO plugin/wp-sitemap.xml
WordPress with Yoast SEO or Rank Math/sitemap_index.xml
Other platforms or custom sitesOften /sitemap.xml; check your platform or ask your developer

Open the address in your browser first. If you see a list of links (not a 404 page), it works.

Step 4: Submit the sitemap

  1. In Search Console, open Sitemaps from the left menu (under Indexing).
  2. Type the sitemap path, for example sitemap_index.xml, and click Submit.
  3. After a while the status should show Success with the number of discovered pages.

You can also tell all search engines where your sitemap is by adding one line to the robots.txt file in your site root:

Sitemap: https://yourcompany.com/sitemap_index.xml

Common problems

  • Verification failed: the TXT record was added to the wrong name, or has extra spaces or quotes. If your nameservers point to Cloudflare, add the record in Cloudflare, not in cPanel.
  • Sitemap "Couldn't fetch": open the sitemap URL yourself. A 404, a redirect to the home page, or a security plugin blocking bots are the usual causes. Fix it and submit again.
  • Few pages discovered: SEO plugins normally leave pages set to noindex out of the sitemap. Check the plugin settings.

Frequently asked questions

Do I need to resubmit the sitemap every time I add a page?

No. Google rereads the sitemap on its own. Submit it once, and resubmit only if the address changes.

Does submitting a sitemap guarantee my pages will appear in Google?

No. It helps Google discover pages, but Google decides what to index based on quality and other signals.

Can I give my web designer or SEO agency access?

Yes. In Settings → Users and permissions you can add their Google account without sharing your password.

Want EgWeb to set this up for you as part of a full optimisation plan? See our SEO service.

Need help? Open a support ticket or message us on WhatsApp +20 127 113 3655.

  • Google Search Console, sitemap, submit sitemap, verify website Google, site verification, SEO, سيرش كونسول, خريطة الموقع

Was this answer helpful?

0 Users Found This Useful