simplify permalink url