Daniel-KM / Omeka-S-module-CleanUrl

Displays clean and readable URLs like https://example.org/my_collection/dcterms:identifier in Omeka S.
Other
4 stars 4 forks source link

Make CleanUrl routes compatible with sites index page when no default site is set #15

Open mcoonen opened 1 year ago

mcoonen commented 1 year ago

Hi Daniel,

This pull request fixes https://github.com/Daniel-KM/Omeka-S-module-CleanUrl/issues/14 I've changed the module's config code in such a way that the top route is only overridden when there is a default site set in Omeka's main settings and Skip "s/site-slug/" for default site is activated in the CleanUrl module settings.

I hope my contribution is valuable and will be merged into the CleanUrl code.

Best regards, Maarten Coonen