Closed (fixed)
Project:
Media Sitemap
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
4 Sep 2015 at 14:12 UTC
Updated:
14 Mar 2021 at 13:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedjazanne created an issue. See original summary.
Comment #2
Anonymous (not verified) commentedComment #3
IckZ commentedI've recognized the same "error" / behavaior: In my case the points to
https://www.yoururl.com/media/2461 instead of pointing to the public url alias of the node..
Are there any workarrounds or updates for this topic?
Comment #4
piyuesh23 commentedI had the same issue & there were a lot of 404s reported back by google due to this. Fixed this one by setting the to the nid from file_usage table. Also, the structure is updated now to hold multiple images under one tag as described by google https://support.google.com/webmasters/answer/178636?hl=en
Uploading the patch here. The patch is against 7.x-1.x branch.
Comment #5
piyuesh23 commentedMissed out the condition on type of media to include. Adding it back & uploading an updated patch.
Comment #6
piyuesh23 commentedMissing patch file. Adding it here
Comment #7
piyuesh23 commentedUploading a patch against 7.x-1.0 as well here.
Comment #8
piyuesh23 commentedAdding one more check to the patch for missing nodes in file_usage table. Patch intended for 7.x-1.0.
Comment #10
piyuesh23 commented