changes the permalink style