Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 19

XML Sitemap

And
Google Search Console
Robot.txt
Robots.txt file is a text file that can be saved to a website’s
server. It determines if and when the search engine crawlers 
can visit a website’s subpages and include them in their 
index. In doing this, certain subpages can be excluded from
the search results.
How does robots.txt work

There are some predefine Keywords you can Use


1. User agent
2. Allow
3. Disallow
4. Delay- time – 10 mili sec
5. sitemap
Example of Robots.txt

Wordpress
User-agent : * User-agent : *

Disallow : /wp-admin/
Disallow:/
Allow: /wp-admin/ajax.php
What is XML Sitemap

A sitemap, or XML sitemap, is a list of


different pages on a website. XML is
short for “extensible markup language,”
which is a way to display information on
a site
List of Sitemap Filetypes:
Two type sitemap
• 1. XML Sitemap
• 2. HTML Sitemap –
Tools to Generate XML
Sitemaps

XML-Sitemaps

Free Sitemap Generator On


e

Screaming Frog SEO Spider


and Sitemap generator
Creation of
XML
sitemap
Tags Used in a Sitemap
<urlset> - The Sitemap opens and closes with this tag. It is the current
protocol standard.

<url> - This is the parent tag for each URL entry.


<loc> - This tag contains the absolute URL, or the locator of the page.
<lastmod> - This contains information about the file’s last
modified date. It should be in YYYY-MM-DD format.
Tags Used in a Sitemap

<changefreq> - This contains information about the frequency with which a


file is changed.

<priority> - This indicates the file’s importance within the site. The value
ranges from 0.0 to 1.0.

<xhtml:link> - In this case, this tag is used to provide details of alternate


URLs offered in other languages.
<sitemapindex xmlns=”http://www.sitemaps.org/blog/sitemap/0.9”>

<sitemap>

<loc>https://www.example.com/sitemap1.gz</loc>

<lastmod>2019-12-31</lastmod>

<sitemap>

<loc>https://www.example.com/sitemap2.gz</loc>

<lastmod>2017-10-01</lastmod>
Submit
XML sitemap
in Google
Search Console
Google Search Console

2015
Google Webmaster Googel Search Console
Thank You

You might also like