Problem with images on XML directory of the sitemap

Please only post Search Engine and Webmaster Related stuff.
Post Reply
LessieHoss
Posts: 1
Joined: Fri Oct 21, 2016 10:26 pm
Contact:

Problem with images on XML directory of the sitemap

Post by LessieHoss »

Identifying the pages in the sitemap is easy and I can easily do that task:

Code: Select all

<url>
   <loc>link</loc>
</url>
Right now, I am trying to add the images to the sitemap. Definitely, I have to add the image extended to the page, which is like this:

Code: Select all

<url>
  <loc>link</loc>
  <image:image>
    <image:loc>image_url.jpg</image:loc>
  </image:image>
</url>

Right now, I am using a software, which is creating the sitemap for me, which is good. But, it is not putting the correct image extention to the sitemap code(means it is not adding .jpg/.png/.gif to the sitemap).


I can see that Google is ignoring all the image, which is an issue to the sitemap file. Definitely google is discarding some tags but what about many pages(which can be deceptive or have error).
Could you tell, if the same thing apply to sitemap containing website pages which are not linking to indexable pages.

An exact example that I am trying to do is given by:

Code: Select all

<url>
   <loc>http://militarybases.co/directory/camp-market-army-base-in-bupyeong-south-korea/</loc>
  <image:image>
    <image:loc>https://lh3.googleusercontent.com/WnZS2gG_wGYFt3bulS-B7vCR1nU07tdYP1ycszHCrJd2K9fh8MbZ1PZpm-7O0rl6nb8_Ns6Vn-vJc_dU64Gb_qSbU21ZY7ZgTyYhnsIhL-Hz_DVMapdpbXWOvTaK8rTaRj3ZDtjTA-j4bMms</image:loc>
  </image:image>
</url>
The code shown above is just an example for a client website and only link I am allowed to display in order to solve this issue is http://militarybases.co/directory/camp- ... uth-korea/ (I have the permission to share this as an example. For rest of the site I don't have the permission. That's why I am sharing it).
I need proper tutorial or documentation in this thing. Looking forward for help, hope you guys can help best possible way.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests