fix default links with pretty permalinks