Move [link rel=”amphtml”] to the top of [head] to solve Google indexing problem
-
Regarding this iusse:
https://github.com/ampproject/amphtml/issues/5909I think the
<link rel="amphtml">
tag should be moved to the top of the<head>
.This simply can be done by editing this line in: includes/amp-frontend-actions:
add_action( 'wp_head', 'amp_frontend_add_canonical' );
and changing it to:
add_action( 'wp_head', 'amp_frontend_add_canonical', 0 );
- The topic ‘Move [link rel=”amphtml”] to the top of [head] to solve Google indexing problem’ is closed to new replies.