Skip to content

Allow URL translation sets for custom URLs #135

@innopbo

Description

@innopbo

Feature request

Summary

Adding a URL bundle for a single type with no dynamic field in the Pattern.

Why is it needed?

Currently adding a URL bundle requires there to be a field in the Pattern. For single types this isn't really necessary because there is no dynamic part to the path. The suggested way of adding non-dynamic urls is via the Custom URLs tab. However, because custom urls have no language setting they don't generate a Translation Set in the sitemap xml.
I'd like to be able to generate sitemap entries with translation sets for urls related to Single types.

Suggested solution(s)

I see a couple of options:

  • Allow adding a URL bundle which doesn't have a dynamic pattern (probably limited to Single Types)
  • Make the language option available for Custom URLs

My workaround for now is adding a slug field to the single type and using this in the URL bundle, but this adds the overhead of another place where the slug needs to be kept in sync with the front-end.

Related issue(s)/PR(s)

#98 (I believe the reporter of this issue was looking for the same functionality)

p.s. Thanks for your great work on this handy plugin!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions