PDF download Download Article PDF download Download Article

Your website’s sitemap is one of the most crucial tools to help increase traffic on your site. Having a good, effective sitemap submitted to the major search engines greatly increases your chances of your site’s content showing up in relevant searches. If you’re trying to earn money from your website, take a few minutes to create and submit your sitemap today. This guide will show you how.

Method 1
Method 1 of 2:

Creating Your Own

PDF download Download Article
  1. The editor should be a plain text editor, such as Notepad on Windows or TextEdit on Mac. This method is best suited for small sites, as you will be manually entering in each page.
  2. Paste the following into your text document. Basic sitemaps are XML files that are submitted to search engines in order for them to be able to read your site easier. By using this format, you can quickly list all of the pages on your site:
       <?xml version="1.0" encoding="UTF-8"?> 
       <urlset 
       xmlns= 
       "http://www.sitemaps.org/schemas/sitemap/0.9" 
       > 
       <url> 
       <loc> 
      http://www.example.com/ </loc> 
       </url> 
       <url> 
       <loc> 
      http://www.example.com/page1 </loc> 
       <lastmod> 
      YYYY-MM-DD </lastmod> 
       <changefreq> 
      always/hourly/daily/weekly/monthly/yearly/never </changefreq> 
       <priority> 
      1.0 </priority> 
       </url> 
       <url> 
       <loc> 
      http://www.example.com/page2 </loc> 
       </url> 
       <url> 
       <loc> 
      http://www.example.com/page3 </loc> 
       </url> 
       </urlset> 
      
    Advertisement
  3. Visit your site in a browser and go through each link, copying the URLs from your browser’s address bar and pasting them into the template. If you have more pages than space in the template, simply copy a “<url>” section to the bottom as many times as you need. [1]
  4. In the first entry of the example, you will see several tags that can be added to each URL, these are optional but may make crawling your page easier for the bots.
    • The <lastmod> tag is the date that your page was last modified.
    • The <changefreq> tag shows about how often your page is updated. Always means that it is updated every time a user views it, while Never means that it is archived.
    • The <priority> tag allows you to rank the importance of each page on your site in relation to the other pages. This value can range from 0.0 to 1.0. The default priority for all pages is 0.5.
  5. Click File and select Save As. Use the “Save as type” menu and select All Files. Change the file extension from “.txt” to “.xml” and save the file as “sitemap.xml”.
  6. Once your sitemap file is complete, you need to place it in the root folder of your web server. This is the lowest directory on your web server. The final URL for your sitemap should be www.example.com/sitemap.xml
  7. All of the major search engines allow webmasters to submit the URL for the file to their web crawlers. Log into the Webmaster Tools for the search engine that you want to submit to and navigate to the Sitemap section. Paste the URL for your sitemap into the field.
  8. Advertisement
Method 2
Method 2 of 2:

Using a Generator

PDF download Download Article
  1. There are a variety of sitemap generators available, both free and paid. You can use online services. Server-side tools, or downloaded programs to generate your sitemaps. Free services typically have a 500-1000 page limit. Popular programs and services include:
    • InSpyder
    • SiteCrawler
    • XML-Sitemap
    • Free sitemap generator.com
    • G-Mapper
  2. Many CMSs such as WordPress have sitemap generators that can be accessed by logging in to your Dashboard. These are often preferable to using a third-part program because they are more suited for the content on your site. [2]
  3. Watermark wikiHow to Create a Sitemap
    Beyond standard XML sitemaps, there are alternative sitemaps for specific types of sites. If you are building a sitemap for Mobile, Image, News, or Video sites, Google supports specialized sitemaps for those kinds of sites. If you need to build a specialized sitemap, check that the program you are using supports those formats.
  4. All of the major search engines allow webmasters to submit the URL for the file to their web crawlers. Log into the Webmaster Tools for the search engine that you want to submit to and navigate to the Sitemap section. Paste the URL for your sitemap into the field.
    • You can also add a reference to your sitemap in your robots.txt file. Simply add the line Sitemap: http://www.example.com/sitemap.xml to the file.
  5. Advertisement


Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      Article Summary X

      1. Go to https://www.xml-sitemaps.com .
      2. Enter your website URL.
      3. Click Start .
      4. Follow the on-screen instructions.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 134,383 times.

      Is this article up to date?

      Advertisement