update category redirect templates, backported from core

Change-Id: Iaafbe293e44b76854e2c6468944e6f665a823be1