« Sitemap index tagsSitemap index validation »

Sitemap validation

  04/08/07 01:05, by , Categories: Specs

The following XML schema defines the elements and attributes that can appear in your Sitemap file. You can download this schema from the link below:

http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd

There are a number of tools available to help you validate the structure of your Sitemap based on this schema. You can find a list of XML-related tools at each of the following locations:

In order to validate your Sitemap file against a schema, the XML file will need additional headers as shown below.

XML

<?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
         http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
         xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <url>
      ...
   </url>
</urlset>
This entry was posted by and is filed under Specs.

No feedback yet


Form is loading...

 

©2017 by sitemaps

Contact | Help | b2evo skin by Asevo | multiblog | b2evolution hosting | F.P.