Highlighted

How to include image URL in sitemap.xml

WaysToGo

24-10-2018

The current sitemap is generated in the below format

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

     <script/>
  <url>
<loc>http://localhost:4503/content/we-retail/ca.html</loc>

<lastmod>2016-09-24</lastmod>

</url>

<url>

<loc>http://localhost:4503/content/we-retail/ca/en.html</loc>

<lastmod>2016-09-24</lastmod>

</url>

<url>

<loc>

</url>


is there any way to include the image address as shown in the below format

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

<script/>

<url>

<loc>http://localhost:4503/content/we-retail/ca.html</loc>

<lastmod>2016-09-24</lastmod>

<image:image>

<image:loc>

http://localhost:4503/imageURL

</image:loc>

</image:image>

</url>

<url>

<loc>http://localhost:4503/content/we-retail/ca/en.html</loc>

<lastmod>2016-09-24</lastmod>

<image:image>

<image:loc>

http://localhost:4503/imageURL

</image:loc>

</image:image>

</url>

Any suggestions will be helpful

Thanks

Replies

Highlighted

Arun_Patidar

MVP

24-10-2018

Hi,

How are you generating sitemap? are you using acs common sitemap generate utility?

Which image you need to include for a page in sitemap?