2017-11-29 12 views
0

2 개의 sub-sitemap.xml을 그대로 유지 한 채로이 마스터 XML을 Google에 제출하는 데 문제가 있습니다. Sitemap 검색 콘솔에 대한 xml 태그 오류 : 잘못된 XML 태그 <sitemap>

내가 인덱싱을 위해 콘솔을 검색 제출

, 그것은 나에게이 오류 제공합니다 ~ 다음과 같이

Errors Invalid XML tag This tag was not recognized. Please fix it and resubmit. Parent tag: urlset Tag: sitemap

내 마스터 sitemap.xml의를하고 도움을 주셔서 감사합니다

<?xml version="1.0" encoding="UTF-8"?> 
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 
    <url> 
    <loc>https://www.domain.domain/</loc> 
    <changefreq>daily</changefreq> 
    <priority>0.9</priority> 
    </url> 
    <sitemap> 
    <loc>https://www.domain.domain/sitemap5-0.xml</loc> 
     <changefreq>daily</changefreq> 
     <priority>1.0</priority> 
    </sitemap> 
    <sitemap> 
    <loc>https://www.domain.domain/sitemap5-1.xml</loc> 
    <changefreq>daily</changefreq> 
    <priority>1.0</priority> 
    </sitemap> 
</urlset> 

답변

0

당신 urlsitemap 요소를 제거해야합니다

<?xml version="1.0" encoding="UTF-8"?> 
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 
<url> 
    <loc>https://www.domain.domain/</loc> 
    <changefreq>daily</changefreq> 
    <priority>0.9</priority> 
    </url> 
    <url> 
    <loc>https://www.domain.domain/sitemap5-0.xml</loc> 
     <changefreq>daily</changefreq> 
     <priority>1.0</priority> 
    </url> 
    <url> 
    <loc>https://www.domain.domain/sitemap5-1.xml</loc> 
    <changefreq>daily</changefreq> 
    <priority>1.0</priority> 
    </url> 
</urlset> 

이 사이트 맵은 유효합니다.