简体   繁体   中英

What to do after adding sitemap.xml to the main folder in xampp?

I created sitemap online and I downloaded the sitemap.xml and added it to the main folder for the site in xampp. I get this error: "This XML file does not appear to have any style information associated with it. The document tree is shown below".

That is how browsers are going to display a sitemap.xml file.

If you can see it, when visiting the URL, it is working.

As noted by John and arkascha you are done, go have a coffee! ;)

EDIT:

If you would like to display a 'site map', as a human readable page, you would simply create a new page on your website(like any other standard content page).

Then add your list of pages, And the links to those pages, to your site map page.

In other words websites that have a human readable page do not use the XML file, but instead they create a standard page with links.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM