Blog Detail

How to Create an XML Sitemap (and Submit It to Google)

Here’s why you need to learn How to create an XML Sitemap (and Submit It to Google). This secret can turn you to an SEO expert if you are an individual. If you are a company, it can make your company the best seo company in nigeria –

How to Create an XML Sitemap (and Submit It to Google)

Luckily, it’s quick and easy to create and submit an XML sitemap to Google.
Below, we walk through how to do this step by step.
But first, let’s cover a few basics.
(Already know the basics? Click to jump straight to creating a sitemap.)
What is a sitemap?
A sitemap is an XML file listing all the important content on your website. Any page or file that you want to show up in search engines should be in your sitemap.
Fun fact
Sitemaps can’t list more than 50,000 URLs, and they can’t be more than 50mb in size. If your sitemap exceeds one or more of those figures, then you’ll need to create more than one.
What does an XML sitemap look like?
XML sitemaps are made for search engines, not humans. They can look a bit daunting if you’ve never seen one before.
<?xml version=”1.0″ encoding=”UTF-8″?>
<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″>
<url>
<loc>https://ahrefs.com/</loc>
<lastmod>2019-08-21T16:12:20+03:00</lastmod>
</url>
<url>
<loc>https://ahrefs.com.com/blog/</loc>
<lastmod>2019-07-31T07:56:12+03:00</lastmod>
</url>
</urlset>
Let’s break this down.
XML declaration
<?xml version=”1.0″ encoding=”UTF-8″?>
This tells search engines that they’re reading an XML file. It also states the version of XML and character encoding used. For sitemaps, the version should be 1.0, and the encoding must be UTF‑8.
URL set
<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″>

This is a container for all the URLs in the sitemap. It also tells crawlers which protocol standard is used. Most sitemaps specify the Sitemap 0.90 standard, which is supported by Google, Yahoo!, and Microsoft amongst others.

https://ahrefs.com/blog/how-to-create-a-sitemap/

We sincerely feel that this information will enhance your SEO quality and make your company one of the best seo company in nigeria or transform you to an SEO guru –

To find out more about “How to Create an XML Sitemap (and Submit It to Google)”, click here

Leave a Reply

Your email address will not be published. Required fields are marked *