strapi-plugin-sitemap icon indicating copy to clipboard operation
strapi-plugin-sitemap copied to clipboard

Multiple hostnames/host profiles

Open cincauhangus opened this issue 2 years ago • 1 comments

Feature request

Summary

Ability to have different sitemaps for different hostnames within a single strapi instance.

Why is it needed?

We have multiple frontends for a single strapi instance. The way we use strapi is by filtering content-type by a special "Website" relation in each content-type. However when generating a sitemap, the plugin only supports a single hostname.

While we have not implemented the sitemap plugin, we foresee that we would have to configure the hostname every time we would generate the sitemap manually.

Suggested solution(s)

  1. A content filter - where we can define a property to filter by (e.g. Website) Likely https://github.com/boazpoolman/strapi-plugin-sitemap/pull/109 would do the trick
  2. "Host profile" where we can define configurations for different hostnames.

cincauhangus avatar Oct 27 '23 04:10 cincauhangus

Great feature request.

This will definitely be implemented somewhere in the future.

boazpoolman avatar Oct 29 '23 10:10 boazpoolman