Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Manager: localize media file name (offer a different SEO file name for each language) #811

Open
stefanmuellerdo opened this issue Sep 6, 2023 · 1 comment
Assignees
Milestone

Comments

@stefanmuellerdo
Copy link

Feature Request: Media Manager - Localize Media File Name for SEO

Description:

In the current version of the Media Manager, all media files have a single, static filename regardless of the language or locale of the website. For SEO purposes and to enhance user experience, it would be beneficial to have the ability to localize media file names based on the selected language or locale.

06-09-_2023_11-51-24

Use Case:

Consider a multi-language e-commerce website that sells products globally. A product image might have a name like "red-shoe.jpg". However, for the German version of the site, a more SEO-friendly name might be "rote-schuhe.jpg". Similarly, for the French version, it might be "chaussure-rouge.jpg". By localizing media file names, we can improve SEO rankings and provide a more relevant user experience. 👍

Proposed Solution:

  1. UI Enhancement: In the Media Manager, when uploading or editing a media file, provide an option to set localized file names. This could be a table where the user can enter file names for each supported language.
  2. Storage: Store the localized file names in a mapping table in the database, linking each file to its localized names.
  3. Rendering: When serving media files, the system should detect the current language/locale and serve the appropriate localized file name.
  4. Fallback: If a localized name is not provided for a particular language, the system should fall back to the default file name.

Benefits:

  • Improved SEO: Search engines will index localized file names, which can lead to better search rankings in non-English search queries.
  • Enhanced User Experience: Users will see media file names in their native language, making the website feel more tailored to their locale.
  • Better Analytics: By tracking the access of localized media files, we can gain insights into the popularity of content in different regions.

Additional Considerations:

  • Redirects: Ensure that if the default media file name is accessed in a non-default language, it redirects to the localized file name to avoid duplicate content issues.
  • Cache Management: Ensure that caching mechanisms are aware of the localized file names to prevent serving the wrong file.

I believe this feature will greatly enhance the capabilities of the Media Manager and provide tangible benefits for multi-language websites. Looking forward to feedback and consideration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants