Rewritten URL cache has to be emptied on URL change
When the URL of a site is changed, it isn't updated in the rewritten URL cache. Querying the rewritten URL then always returns the old one.
Detailed information can be found here: redirect#40 (comment 110470)
I'd suggest removing the entry from the rewrite cache when a site's save()
method is called, after the siteSaveBefore
event and the URL was changed.
-
If this issue get's resolved the changes introduced to quiqqer/redirect
(see redirect#40 (closed)) should be reverted