Adding an XML Sitemap to Your Site

by Brian Forrester   |   Feb 20, 2011   |   Clock Icon 3 min read

An XML Sitemap is essentially a text based URL road map of your website that search engines can use to more easily index your website and the pages within it more intelligently and accurately. Adding a Sitemap does not necessarily mean that your site will be indexed but it is recommended by Google (which is reason enough for me to include it). XML Sitemaps are a URL inclusion tool, unlike robot.txt files which are URL exclusion or exception tools. Together they help you organize your site so that it is optimized for search engine spiders who crawl your site.

XML Sitemaps for HTML/CSS based sites

In order to add an XML Sitemap to a traditional html/css based website (not built on a CMS) you will need access to the domain root folder of your site. This may be best left to your web design/development company, web marketing consultant, or SEO provider. If you feel comfortable creating a XML Sitemap for your site, and have ftp access to your site's root folder, there are several tools( a Google search returned 23,300,000 results for [free xml sitemap]) for creating an XML Sitemap. For ease of use, I generally use If you are really feeling froggy and want to write your own XML Sitemap, there are resources for this as well, including

It should be noted that when setting up your XML Sitemap, you type in the web address as it is being optimized. For example, may not be the same as Check with your SEO consultant or web developer to see which URL is being optimized for (the other should 301 redirect) and be sure to create your Sitemap around that web address.

Free SEO Scorecard

Get professional analysts' insights into your Technical SEO, Content, Competitor Activity, UX, Web Analytic Configuration, and more. Get started with your free website SEO audit today.

XML Sitemaps for Wordpress

If your site is one of the many websites now being built on the Wordpress format, installing an XML Sitemap can happen right from the admin panel. The Google XML Sitemap plugin can be activated in a couple of clicks. Adding plugins use to be a pain, but with the improvements to the Wordpress CMS, you can now search for the plug-in under the 'Plugins' tab in your admin panel, and then install the plugin without ever leaving your admin panel. (Just make sure to read and follow the on screen instructions).

Other CMS systems have similar functionality, allowing you to add an XML Sitemap fairly easily.

For the more advanced users, there are certain criteria (like modification date, update frequency, priority, etc) which can be added in the XML file. These criteria are optional. For an explanation of the XML tag definitions you can go here.

In summary, an XML Sitemap is an great way to help search engine spiders organize your URLs for inclusion in their search engines. All of the major search engines (Google, Bing, Yahoo!) support XML Sitemaps.

Too nerdy? I try to provide important information for small to mid-sized business owners to help them improve their online marketing initiatives. Let me know if this post was helpful for you.

Portrait of Brian Forrester

Brian Forrester

Brian has spent over 15 years in digital marketing. He is most passionate about building a better agency with an emphasis on culture, community involvement, and the development of our number-one resource, our team.

During Brian’s time as Co-Founder & CEO of Workshop Digital, the agency has won numerous awards including six-time winner of Virginia Best Places to Work, four-time winner Outside Magazine Best Places to Work in the U.S., 4-time winner of Generosity, Inc., an award celebrating top charitable corporate givers in Richmond, VA, three-time winner of the RVA25 Fastest Growing Companies in Richmond, the 2016 Richmond Chamber IMPACT Award, and Brian was also selected for the Style Weekly 40 under 40 list in 2017.

Since his days at James Madison University, Brian has always sought to give back to the community. Brian has served on the Executive Advisory Council for JMU’s College of Business, Marketing, the FETCH a Cure Board of Directors, the IMPACT Awards Selection Committee, and the Town of Irvington Planning Commission. Brian now serves on the Board of Directors at Northern Neck Insurance and is a member of the Virginia Advisory Council for the Chesapeake Bay Foundation.