M
M
Marik Zukor2016-01-14 10:27:03
Google
Marik Zukor, 2016-01-14 10:27:03

How to add sitemap.xml correctly?

Generated a sitemap. But when I go to www.site/sitemap.xml, it shows me this:


This XML file does not appear to have any style information associated with it. The document tree is shown below.

And after this inscription there is another urlset tag with content. The main index.php file. html5 version html file

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2016-01-14
@healqq

So that's normal. You are simply warned that there are no styles for the given file. And then the contents of the file are shown.
Apparently the browser expects some kind of XSLT file in order to build HTML according to your XML, but it does not find this file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question