A sitemap index needs to be in the website root, but do the referenced sub-sitemaps also need to be in the root?

All we need is an easy explanation of the problem, so here it is.

My Website have to split on three Sections , Windows 10, Windows 8 and Windows 7 .Now build Three articles which explain how install Virtual Box on Windows 10, Windows 8 and Windows 7 , therefore build a sitemap for every sections;

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
   <news:title>Wie instaliert Virtual Box in Windows 10 </news:title>
   <news:keywords>Virtual Box, installation, Windows 10</news:keywords>

Name File , sitemap_windows10.xml . Then for Windows 8 and Windows 7. My Idea is to build a sitemap structure as here say .

When the sitemaps_index.xml should to be on Root of the site, where should to be the Sitemaps referenced (sitemap_windows10.xml)?

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

Stephen Ostermiller give me the solution .I have a few mistake to do….

Because my Website is not a News Site (Newspaper) , I can’t to write <news:news> .
How now to write my sitemap .

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"

and every time which write a new article , add the link to these File .The File stay on Root of the site .Without to write a sitemap index .

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply