swaps permalinks routing with legacy routing