How to Create a Robots.txt File in Blog

How to Create a Robots.txt File in Blog



Here is a way to create Robot.txt File
A robots.txt file lives at the root of your site. So, for site www.blogtricker.com, the robots.txt file lives at www.blogtricker.com/robots.txt. robots.txt is a plain text file that follows the Robots Exclusion Standard. A robots.txt file consists of one or more rules. Each rule blocks (or allows) access for a given crawler to a specified file path in that website.

How To Add Custom Robots.txt File in Blogger?

Each and every one of us wants to announce our presence on the web right? Day in day out, we are trying ways and means to increase our search rankings on Google and other search engines. Making good settings and adding Custom Robots.txt File in your blog will really help you in search rankings.

If you want to learn how to add custom robots.txt file in blogger, then YES, congratulation, you enter the correct article. This is the article for you. In this post, I’m sharing how to add custom robots.txt file in Blogger Blogspot. Before we jump in, I would like to talk about what is robot.txt file is and why you should add custom robots.txt file in your blogger blog.

What is a sitemap? - How to submit a site to Google Search Console?
What is a sitemap? - How to submit a site to Google Search Console?



What Is Custom Robots.Txt File? Why Do I Need To Add Custom Robots.txt File In Blogger?
Robots.txt is a text file of Google that includes few lines of simple code. It is stored on the website or site’s server which guides the web crawlers on how to index and crawl your site in the search results of Google. That means you can restrict any web page on your blog from web crawlers so that it can’t get indexed in search engines like your blog labels page, your demo page or any other pages that are not as important to get indexed. Always remember that search crawlers scan the robots.txt file before crawling any web page.

In Blogger search option is related to Labels. If you are not using labels wisely per post, you should disallow the crawl of the search link. In Blogger, by default, the search link is disallowed to crawl. In this robots.txt, you can also write the location of your sitemap file. A sitemap is a file located on a server that contains all posts’ permalinks of your website or blog. Mostly sitemap is found in XML format, i.e., sitemap.xml.

User-agent: NinjaBot
Allow: /

User-agent: Mediapartners-Google*
Allow: /

User-agent: Googlebot-Image
Allow: /wp-content/uploads/

User-agent: Adsbot-Google
Allow: /
 
User-agent: Googlebot-Mobile
Allow: /

Sitemap: https://wwwblogtricker.com/sitemap.xml




What is a sitemap? - How to submit a site to Google Search Console?

What is a Sitemap?

Everyone wants to know what a sitemap does to SEO, what is a sitemap, what is a sitemap, tell me about a sitemap, "Sitemap is a file where you can view your site's pages, videos and other files and between them Provide information about relationships with. Search engines like Google, Yahoo, Rediff, other search engines read this file to crawl your site more intelligently ". A sitemap tells Google which pages and files are important in your site, and also provides valuable information about these files.

What is a sitemap? - How to submit a site to Google Search Console?


For example, for pages, how often the page has been changed when the page was last updated, and any alternate language versions of the page.

You can use sitemaps to provide information about specific types of content on your pages, including video and image content.

for example:
The Sitemap video entry can specify the time, category, and age-appropriation rating of the video to be played.
Sitemap image entry may include image content, type, and license.

Know Sitemap in Details

I'll talk about how to use the Search Console Sitemap report.

By the end of this article, you should be able to understand what a sitemap is, decide if you need one, and learn to submit a sitemap and track its status using Search Console.


A sitemap is a prompt about which you want Google to crawl on your site.

It can provide information on URLs that were recently created or modified, and are giving us some additional information about them. Google supports four main methods to provide you with additional information.

You can expand a URL with the pictures included in it, you can also expand a URL
With the included video, you can include information about alternative languages ​​or country versions with hreflang annotations, and finally, for news sites, you can use
A special variety of sitemaps, to give us information
About the most recent update.

Note that this information will not necessarily be highlighted on Search Console.
But you can still provide it in your sitemap. But if I don't have a sitemap,
Will Google get all my pages? I'm glad you asked John. Usually if you have
A relatively small website, and your pages are properly linked, Googlebot can search for your content.

Therefore, you do not have to worry about sitemaps. However, if your site meets one of the following criteria, a sitemap can help Google decide what and when to crawl your website.
If your site is really large, the sitemap will help Google prioritize the URL to be crawled.
Sitemaps can help Google if your pages are isolated, or not well connected to each other
Search those pages. If your site is new, or it has very fast-changing content, such as a news website, then the sitemap will help Google find your content.
Please, remember, that using sitemaps does not guarantee all your pages
Will be crawled and indexed. But in most cases, your site will benefit
By having a sitemap. And there is no harm in being one. Also, sitemap
Do not replace normal crawling. And a sitemap does not include URLs, as a result of those URLs will no longer be crawled.

I may need a sitemap. But how can I create a sitemap? Ideally, the system running your website will automatically create sitemap files for you.

We recommend finding a way to create a sitemap automatically, rather than creating manually. Typically, this will include running code on your server, so if you are not a developer,
You may need help from one.

There are limits to the number of URLs and the maximum size of the sitemap file.
If you need more space, you can create many sitemap files. You can also submit all
These sitemap files together, as an index sitemap file. Doing this makes it a little easier to track them all at once.

To learn more about the Sitemap format and guidelines,
It does not show any sitemaps discovered through robot.tax references or other search methods. However, even if we have already discovered the Sitemap by other means, you can submit it using this report to track errors and warnings.

So, let's look at the report. Open the search console and find the Sitemap report. If you have already submitted one or more Sitemaps, you will receive the following information about each Sitemap that you submitted: Sitemap URL; The type or format of the sitemap,
Such as XML, TXT, RSS or Atom; Last submission date using this report; Date last read by Google; Crawled

What is a sitemap? - How to submit a site to Google Search Console?

For example, for pages, how often the page has been changed when the page was last updated, and any alternate language versions of the page.

You can use sitemaps to provide information about specific types of content on your pages, including video and image content.

for example:
The Sitemap video entry can specify the time, category, and age-appropriation rating of the video to be played.
Sitemap image entry may include image content, type, and license.

Know Sitemap in Details

I'll talk about how to use the Search Console Sitemap report.

By the end of this article, you should be able to understand what a sitemap is, decide if you need one, and learn to submit a sitemap and track its status using Search Console.


A sitemap is a prompt about which you want Google to crawl on your site.

It can provide information on URLs that were recently created or modified, and are giving us some additional information about them. Google supports four main methods to provide you with additional information.

You can expand a URL with the pictures included in it, you can also expand a URL
With the included video, you can include information about alternative languages ​​or country versions with hreflang annotations, and finally, for news sites, you can use
A special variety of sitemaps, to give us information
About the most recent update.

Note that this information will not necessarily be highlighted on Search Console.
But you can still provide it in your sitemap. But if I don't have a sitemap,
Will Google get all my pages? I'm glad you asked John. Usually if you have
A relatively small website, and your pages are properly linked, Googlebot can search for your content.

Therefore, you do not have to worry about sitemaps. However, if your site meets one of the following criteria, a sitemap can help Google decide what and when to crawl your website.
If your site is really large, the sitemap will help Google prioritize the URL to be crawled.
Sitemaps can help Google if your pages are isolated, or not well connected to each other
Search those pages. If your site is new, or it has very fast-changing content, such as a news website, then the sitemap will help Google find your content.
Please, remember, that using sitemaps does not guarantee all your pages
Will be crawled and indexed. But in most cases, your site will benefit
By having a sitemap. And there is no harm in being one. Also, sitemap
Do not replace normal crawling. And a sitemap does not include URLs, as a result of those URLs will no longer be crawled.

I may need a sitemap. But how can I create a sitemap? Ideally, the system running your website will automatically create sitemap files for you.

We recommend finding a way to create a sitemap automatically, rather than creating manually. Typically, this will include running code on your server, so if you are not a developer,
You may need help from one.

There are limits to the number of URLs and the maximum size of the sitemap file.
If you need more space, you can create many sitemap files. You can also submit all
These sitemap files together, as an index sitemap file. Doing this makes it a little easier to track them all at once.

To learn more about the Sitemap format and guidelines,
It does not show any sitemaps discovered through robot.tax references or other search methods. However, even if we have already discovered the Sitemap by other means, you can submit it using this report to track errors and warnings.

So, let's look at the report. Open the search console and find the Sitemap report. If you have already submitted one or more Sitemaps, you will receive the following information about each Sitemap that you submitted: Sitemap URL; The type or format of the sitemap,
Such as XML, TXT, RSS or Atom; Last submission date using this report; Date last read by Google; Crawled

.org / schemas / sitemap / 0.9 ">
<url>
<loc> http://www.example.com/foo.html </loc>
<lastmod> 2018-06-04 </lastmod>
</url>
</urlset>


2. RSS, mRSS and Atom 1.0 Sitemap formats
RSS feed Sitemap

3. Text Sitemap Format

If your sitemap includes only web page URLs, you can provide Google with a simple text file containing one URL per line. for example:

http://www.example.com/file1.html
http://www.example.com/file2.html
 
Make your sitemap available to Google (send your sitemap to Google)
Google does not check Sitemaps every time a site is crawled; The Sitemap is only checked the first time we notice it, and only after you ping it to let us know that it has changed. You should alert Google about a Sitemap only if it is new or updated; Do not submit or ping unchanged sitemaps multiple times.

There are a few different ways to make your Sitemap available on Google.

Send it to Google using the Search Console Sitemap report
Put the following line anywhere on your site. In your file, specifying the path for your sitemap:
Sitemap: http://example.com/sitemap_location.xml
Use the "ping" service to make Google sitemaps crawl. Send HTTP GET request like this:
http://www.google.com/ping?sitemap= <complete_url_of_sitemap>
for example:
http://www.google.com/ping?sitemap=https://example.com/sitemap.xml

How to submit sitemap to Google Search Console?

How to generate sitemap online for Blogger?

Friends here is the step to submit the sitemap on Google Search Console

Step 1: Search Google "Generate Online Sitemap for Blogger"
                                     "Online Sitemap Generator website for Blogger"

Step 2: You will see the first website "https://www.labnol.org/blogger/sitemap/" Open it

Step 3: Enter your website address and click Generate Sitemap



Step 4: Your Sitemap copy complete code created.


Step 5: Now go to your website blogger dashboard click on Settings.



Step 6: In the Settings option, enable Custom Robot. Enable in side crawler and indexing section



Step 7: Enable custom robots.txt: - by clicking on.

Step 8: After enabling custom robots. Now click on Custom Robot. A new popup page will open.



Step 9: Paste Code which has already been copied, now click on Save.


How to add website in Google Search Console?


Step 10: Now to add website in Google Search Console, search in Google "Google Search Console"

Step 11: Improve your performance on Google Add your website to Google.

https://search.google.com/search-console/about

If you do not create before, open this website and create your profile.

Step 12: Now click on Add Property and place your website address in the domain section without http, https, compared to click on Continue.



Step 13: After adding your website in Google Search Console, click on Sitemap


Step 14: Now add a new Sitemap in Google Search Console: Click to submit /sitemap.xml after your website address



Step 15: After submitting the Sitemap, it will take some time to add the Sitemap to Google Search Console. This will look like the image below.



How to check your website's sitemap?
How to check Sitemap of your website?

Step 16: Type your website address and include /sitemap.xml in the browser address bar.

Example: https://www.blogtricker.com/sitemap.xml



Friends: If you have an issue with adding a site map to your website, please comment.