Change permalink and paginate path