Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This SOP is a work in progress. If you notice anything that is out of date, could be more clear or could be more efficient please update the SOP or add a comment to start a conversation.

Purpose

The purpose of this document is to explain what Sitemaps are and how they impact how search engines understand websites.

What are Sitemaps?

A site map (or sitemap) is a list of pages of a website. Sitemaps are used during the planning of a Website by its designers. These are Human-visible listings, typically hierarchical, of the pages on a site. These structured listings are intended for web crawlers such as search engines.

...

Now, you can also include URLs to other sitemaps. That way, you can have one that has them all but still break down the files if need be.

Why Do We Use SiteMaps?

We have search engines such as Google that we want to crawl our site. Google will crawl every link it can find but just because a page is crawled, doesn’t mean it will be indexed. The problem is that search engines will not index (or are very unlikely to index) an entire website. Submitting a sitemap can help show Google what we would like it to crawl and index.

...

Imagine that Google is driving into your city (the client website) to map it out for other people so they can come visit. So, you give Google and the car driver (the crawler) a map of your city, which is the site map in our case.

So they drive through your city looking at every spot. They mark the places they think are important. Those spots are the ones that are indexed for people to see. So, even though you gave them a map of the entire city and Google did in fact do a drive by of all places included in your map of the city, for whatever reason, Google picked only certain parts of town to share with others to visit.

Remember that construction happens, the city can change and the map becomes outdated. The same thing happens when websites change, the sitemap becomes outdated. This is not the end of the world. Google will still drive every road (link) it can find regardless of if it is in the sitemap. As long as there is a road (link) to that spot (page).

So, in the end, the best we can do is hand over the most up-to-date map we have and hope for the best.

What are Sitemap Errors?

Things break, change, or just don’t work correctly. This is okay. Sitemap errors range from “This can be ignored” to “take care of this ASAP”.

...

Some major errors that could occur will more than likely be bad files, which is usually from a bad generation, so a new sitemap just needs to be generated. There are some other ways around this (by using another source of a sitemap), but avoid doing that and check with a pod lead if just regenerating the sitemap doesn’t work.

Updating a Sitemap

Need-to-Know Notes

Ampersands: due to the formatting of sitemaps, all ampersands in a URL must be changed to & so it can be properly read.

& -> &

For example:

https://www.rivamiami.com/--inventory?category=atv&make=yamaha

...

https://www.rivamiami.com/--inventory?category=atv&make=yamaha

Complete example to be added to the sitemap:

<url><loc>https://www.rivamiami.com/--inventory?category=atv&amp;make=yamaha</loc><changefreq>monthly</changefreq><priority>1.00</priority></url>

To update the Sitemap on our platforms, follow the procedure below:

Expand
titleDealer Spike Sitemap Update Procedure
  1. To edit your sitemap, open Notepad++, locate your client’s folder, open the “content” folder, and then you should see a file called “sitemap.xml”

  2. Add your URLs by following the “complete example” format above.

  3. Save the file and open it in your browser: https://www.domain.com/content/sitemap.xml. It will immediately tell you if there are any errors and will tell you specifically which line so it’s easy to identify. 

  4. If you added a lot of URLs, it would be wise to resubmit it in Google Search Console. You can skip the “generate a sitemap” steps and start at “submit your sitemap to Google”.

Helpful Tips

If you’re making a large update to your sitemap, it’s highly recommended to record the day you updated it. That way you have a reference point to see the effects of updating your sitemap.