Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to include image URL in sitemap.xml

WaysToGo
Level 1
Level 1

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

1 Reply
Arun_Patidar
Community Advisor
Community Advisor

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?