Every website that wants to be found should have a sitemap.xml
file that
Google (and everyone else) can use to help find and index all the pages.
By default, these files look horrible when a human looks at them in a browser. But there is a simple way to make them look better: Sitemap Style!
Download one of the available styles and save it as sitemap.xslt
in the same directory as your sitemap.xml
file
Note that the extension is .xslt
and NOT .xml
!
Add it to your sitemap.xml
file. At the top of the file, it will look like:
<?xml version="1.0" encoding="UTF-8"?> <urlset ...> ...
Add a line in the middle so it looks like:
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="my-downloaded-file.xslt"?> <urlset ...> ...
Source | Sitemap Viewer | Sitemap Viewer Parameters