Issue Feature Closed

#106363Check for redirects with dynamic URLs

Philipp Kitzberger 03/12/25, 13:19 updated 12/02/25, 14:22

Description

Currently the redirect integrity check is only checking slugs of records of the pages table. That obviously ignores any dynamically rendered URLs such as news single views. These URLs should be checked as well, when generating the report of conflicting slugs/redirects.

The obvious improvement would be to dispatch an event so other extensions could provide their URLs before they’re all checked against the redirects.

Or simply change the way IntegrityService->getAllPageUrlsForSite() is fetching URLs: instead of a DB lookup into pages we could simple look into the URLs rendered in the XML sitemap. No?

Reviews 2