Go back

The Daily Carnage

february 14, 2023

Search Engine Wishlist

Sitemaps and …scorpions?

Be in The Know

Best Practices for XML Sitemaps

An XML (extensible markup language) sitemap is a website file that lists pages you want search engines to index. It’s not a requirement, especially for smaller websites; and if you’re using a CMS like WordPress, Wix, Shopify, or Squarespace, you don’t have to worry about it. But for minimal effort, it can give your SEO a boost. So, here’s some best practices for creating sitemaps:

  1. Include only those URLs you want to be indexed by search engines, and those which return a 200 status code (no redirects or error status codes).
  2. Your sitemap files should not exceed 50MB or 50,000 URLs. When multiple sitemaps are required, use a sitemap index to list all of them.
  3. Make sure your sitemap is UTF-8 encoded.
  4. Include links to localized version(s) of each URL.
  5. Update your sitemap with new URLs, and document when old URLs have last been updated (the “lastmod” attribute).
  6. Link to your sitemap from your robots.txt file.
  7. Submit your sitemap to Google via the Google Search Console.

You can create an XML sitemap manually or use a generator tool that updates your file automatically. Visit Semrush to get started on yours.

Read moreSign up

Smash or Pass ❤️/💔

What do you think of anti-Valentine’s Day campaigns?

Psst! You need to be a Daily Carnage subscriber to participate in this poll.

Enter your email below to subscribe or verify your existing subscription

Subscribe to The Daily Carnage

Get a daily curation of marketing news, insights, tools, and culture—delivered straight to your inbox.

Inspyder Sitemap Creator

Automatically generate accurate and compatible XML sitemaps of any size or type with Inspyder’s Sitemap Creator desktop tool, which includes a built-in FTP/FTPS/SFTP client and email notifications when your sitemap has been uploaded to the server. The whole process takes only a few minutes.

Try itSign up

Y/N?

Need to gauge public sentiment, forecast trends, or back up a hunch with hard data? Tap into our vast community of multiple-choice lovin’ marketers with a sponsored poll.

Sponsor The Daily CarnageSign up

Friends with Bennys 🍳

Denny's Vday

This year, Denny’s offered Valentine’s Day gift cards worth two classic breakfasts (eggs benedict, anyone?) at the diner chain, plus the chance to get married at a pop-up wedding chapel in Vegas. This saucy little campaign makes light of the otherwise expensive holiday. Grand slam.

WatchSign up
Ads From the Past

Ads from the Past

Zuri 1970s

Zuri, 1970s

Read more

Get the best daily marketing newsletter in your inbox