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
BedrockMission!

Learn More

View all

Sign in to view all badges

How to include image URL in sitemap.xml

Avatar

Avatar
Validate 1
Level 1
WaysToGo
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
WaysToGo
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
WaysToGo
Level 1

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

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,228 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,228 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
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?