pluginpal / strapi-plugin-sitemap

🔌 Generate a highly customizable sitemap XML in Strapi CMS
https://www.pluginpal.io/plugin/sitemap
MIT License
252 stars 53 forks source link

Multiple hostnames/host profiles #143

Open cincauhangus opened 1 year ago

cincauhangus commented 1 year ago

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.
boazpoolman commented 1 year ago

Great feature request.

This will definitely be implemented somewhere in the future.