Rule from seo under content category
Passmarked is made out of users just like you who helped supply some content. Click below to contribute to this rule. We need you.Add content to this rule
Sitemaps (although not that widely used anymore but still a valid standard) allow site owners to give search engines lists of URLs that might be hard to find while doing a normal crawl of the website.
These sitemaps must be an XML file on the root of the site, namely
/sitemap.xml that start with an valid prolog on the first line:
<?xml version="1.0" encoding="UTF-8" ?> ..rest of sitemap ..
Ideally with computers, you'd be very explicit with output and much more relaxed with input.
The reason for the prolog (although optional) is that sitemaps with an explicit encoding removes any change of unexpected behaviour that might cause URLs to be indexed wrong with unintended characters.
Ensure that the first line of the XML file:
encoding="UTF-8"attribute (note UTF-8 can be changed to another encoding if required)
Passmarked works best when you have an account. It allows you to keep a dashboard with saved data of the sites you have run through the system, we’ll alert you about important updates and you get access to the Passmarked Slack forum.Sign up to get started