[BUGFIX] Fixed critical canonical url generation