Simon wrote:
a few weeks ago, I changed the title of my website, including in the EXIF data of my images.
What puzzled me was the fact that Google indexed pages with both the new and old titles.
You mean when you make a specific search for an old EXIF value, it showed the page for the image that used to contain that EXIF, although the exif for that image had changed? Well, there are a few reasons this could happen. First of all, Google can take MONTHS before it updates it's search indexes after you make changes. Furthermore, it might not DELETE the index for the old search for the same page, just because it changed.
About 7-8 years ago, our product was called "ImagevueX" ... Although that name has been entirely removed from everywhere since a very long time ago, search "imagevuex" on Google will still show our website "
www.photo.gallery" as #1.
Simon wrote:What I later found out is that there is hard-coded data based on the EXIF data of the images in the gallery in the page.json file.
X3 might store titles and descriptions, inherited and possibly overwritten, from an image's IPTC tags (title, description etc), but never from EXIF.
Simon wrote:This information is written to page.json when settings are saved in the backend. Unfortunately, saving does not update existing information based on the latest EXIF data of the images. This leads to inconsistencies in the metadata.
IPTC may get cached in page.json yes, which is initially brought in from the original image. This is because we can't store titles and descriptions back into the image IPTC when users update their titles and descriptions from the X3 control panel. This works in a similar was as normal browser cache ... If you update an image, for example sharpening the image, you will NOT see those changes when you load the image in browser, because it's cached. So what's the solution? Rename the image, imagename2.jpg etc. That would then also solve IPTC related issues, and Google will always update their indexes to remove old "landing pages" for images that don't exist. Unfortunately, if you overwrite IPTC data on an image locally, and then re-upload overwriting existing image names, previous IPTC might still be stored, because it's imported from the first image.
Simon wrote:At the same time, I came across the “image landing page,” which, however, uses current EXIF data to display titles, etc. As a result, Google had indexed pages with both the old and new titles, which totally confused me and led me to the questions described here.
It's a bit unclear what "pages" you are on about here getting indexed by Google. Do you mean "image landing pages"? Do you have an example of an image landing page that is indexed "with both old and new titles"? Even if it is (I would like to check), do you mean you can see both old and new titles in the actual Google SERP (Google description)? Even if this is the case (I would like to understand exactly what you mean), I'm struggling to see how this is a problem.
In my opinion, Image landing pages should be disabled, because there are usually too many (spammy), and Google probably doesn't put much emphasis into them. I would guess that someone would need to use a search phrase that includes the actual domain name to even be able to get search results that show any image landing pages. It was initially created from the desire from some users to be able to "index" each an every image on Google, although this is unlikely to any useful degree.
Simon wrote:A quick note about sitemap.xml and create_image_sitemap.php. This page contains a link labelled ‘Submit to Google’ (
https://www.google.com/ping?sitemap=htt ... itemap.xml), which no longer works because Google has discontinued this ‘ping function’. This was just a note to indicate that this function is obsolete.
Right! I will remove it on next update ...
The sitemap is still supported by Google, and can still be submitted from Google console. Google generally isn't very interested in sitemaps though, unless you have hidden pages that Google can't find naturally by crawling your website, which is highly unlikely.