sulu / SuluRedirectBundle

Sulu bundle for managing redirects
MIT License
18 stars 19 forks source link

Multi webspace support not guaranteed #39

Closed alexander-schranz closed 3 years ago

alexander-schranz commented 5 years ago
Q A
Bug? no
New Feature? no
Sulu Version 1.6, 2.0.0-RC1
SuluRedirect Version 0.2.2, dev-devleop
Browser Version -

Actual Behavior

Currently there is no multi webspace / domain support. You can redirect to a specific domain but the source can not have a domain.

Expected Behavior

There should be an additional sourceHost property which should be set by the GoneSubscriber ({host} host will be replaced with null which is the same as matching for all domains). SourceHost can be empty so it will match all domains. If a source exist in both with and without a sourceHost it should use the redirect with the host.

alexander-schranz commented 5 years ago

@wachterjohannes any concerns?

niklasnatter commented 3 years ago

Will be fixed by https://github.com/sulu/SuluRedirectBundle/pull/53