Open Gregable opened 6 years ago
I am seeing the same issue for https://ampbench.appspot.com/validate?url=https://xwp.co
The xwp.co site is native/canonical AMP so there is no rel=amphtml
link. There is, however, a rel=canonical
link. Nevertheless, I'm seeing errors for both “AMP HTML Link
in Canonical page?” and “AMP HTML Link in AMP page?”.
I don't understand why xwp.co has two errors whereas ampbyexample.com only has one, but they both only have rel=canonical
and no rel=amphtml
.
I'm tracking the second FAIL
at https://github.com/ampproject/ampbench/issues/65
https://ampbench.appspot.com/validate?url=http%3A%2F%2Fwww.ampbyexample.com%2F
I believe this warning is caused by a self-canonical AMP page, which is perfectly reasonable. The only workaround would be to add
<link rel=amphtml>
to an AMP HTML page, which is undesirable.