Avoid errors on canonical url fix.