We were going to learn today how To Add XML Sitemap to Blogger Blog. When it comes to Search Engine Optimization, site maps, XML sitemaps, and HTML sitemaps are all important. These two have very important parts to fix if you want Google to understand and find your posts and pages.
A sitemap is just a list of all the pages on your site that can be reached. Sitemaps make it easy for search engines like Google, Yahoo, and Bing to crawl your site’s pages, which helps them organize your site better. As a blogger, you need to make a sitemap so that search engines can quickly crawl and index your new posts.
The XML sitemap file is like all of the files and web page directories on your website or blog. Google, Bing, and other search engines can use it to index all the pages on your website that they would miss during normal crawling.
How to Add XML Sitemap to Blogger Blog
- Log in to Sitemap Generator
- Enter your blog URL (your blog site address)
- Click on Generate Sitemap to generate the XML file for your sitemap.
- Copy the text.
- Open your blog on Blogger.com, click on Settings at the dashboard. Look for Enable Custom robots.txt option under Crawlers and Indexing, and select it.
- Paste the XML sitemap in the custom robots.txt. Change Disallow:/Search to Disallow:/None as you can see in the picture below. This will let Google crawler crawl all the pages in your blog including Labels (Categories), which have “search” in the URLs. If, not the Google crawler will be blocked/ disallowed from crawling and indexing “search” pages URLs.
- Save changes.
FAQs
Go to Appearance > Theme Editor in your dashboard. On the right, open the functions.php file and put your code at the bottom of the file. When you click Update File, you now have a basic XML sitemap for your site.
Usually, the sitemap.xml file is in the root directory of your name (for example, https://www.websitedomain.com/sitemap.xml). The host can choose any name for the file, and the file can go anywhere on the website’s domain that is open to the public.
XML files can be opened in almost all browsers. Just open a new tab in Chrome and drag the XML file into it. You can also right-click the XML file, move your mouse over “Open with,” and then click “Chrome.” The file will open in a new tab when you do this.
With the illegal xml> tag, you can put XML data inside of HTML. Note that the xml> tag is an HTML element and not an XML element. HTML parts can be linked to a data island. (like HTML tables). In the case below, an outside XML file is used to load an XML Data Island with the ID “cdcat.”
As long as your site is public and you haven’t checked the box that says “Discourage search engines from indexing this site,” search engines will find your sitemap and use it to index your site. When you change something on a page or post or delete it, WordPress.com sends the change to search engines instantly.