Up until now, each attachment was "unique", it did belog to one content only and had one URL.
With the introduction of attachment mirroring in XFMG 2.2 this will change; if an attached image does get mirrored form a post to the gallery there will be 2 public URLs (and another one that usually does never get used) for the full sized image.
Here is an example of such URL duplication:
Original Post
The attachment in this post got mirrored to this Media Item
As a result, there are now 3 different URLs that all point to the exact same image/file:
https://xenforo.com/community/attachments/download-1-jpg.230926/ (Attachment in original post)
https://xenforo.com/community/attachments/download-1-jpg.230927/ (Attachment in media item)
https://xenforo.com/community/media/download-1-jpg.3196/full/ (Media Item full image URL)
This seems bad as I think this causes duplicate content for search engines and could cause duplicate downloads for users (ify they happen to view both).
I therefore suggest to ever have only one canonical URL for an attachment, no matter how often or where it does get (re)used.
While each location where attachment does get used might have different access permissions (eg. the same user might have permission to view only one but not others), this shouldn't be a problem - as long as the user does have access permission in one location access can be granted without evading access.
With the introduction of attachment mirroring in XFMG 2.2 this will change; if an attached image does get mirrored form a post to the gallery there will be 2 public URLs (and another one that usually does never get used) for the full sized image.
Here is an example of such URL duplication:
Original Post
The attachment in this post got mirrored to this Media Item
As a result, there are now 3 different URLs that all point to the exact same image/file:
https://xenforo.com/community/attachments/download-1-jpg.230926/ (Attachment in original post)
https://xenforo.com/community/attachments/download-1-jpg.230927/ (Attachment in media item)
https://xenforo.com/community/media/download-1-jpg.3196/full/ (Media Item full image URL)
This seems bad as I think this causes duplicate content for search engines and could cause duplicate downloads for users (ify they happen to view both).
I therefore suggest to ever have only one canonical URL for an attachment, no matter how often or where it does get (re)used.
While each location where attachment does get used might have different access permissions (eg. the same user might have permission to view only one but not others), this shouldn't be a problem - as long as the user does have access permission in one location access can be granted without evading access.
Last edited:
Upvote
6