• Resolved serhiikudelia

    (@serhiikudelia)


    the path for the file – ‘/wp-content/plugins/amp/src/MobileRedirection.php’
    the line of code – 588 which contains $rel = [];
    and instead it can be $rel = [‘amphtml’]; for displaying not empty rel attribute

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @serhiikudelia

    Thank you for reaching out to us and for the suggestion, the rel=[] will be added for links on non-AMP pages for the link to AMP page.

    Adding the rel="amphtml" to hyperlink <a> was an invalid attribute, it was creating issues in the past, so we omitted its usage, You can learn more about it from GitHub issue #6599

    We hope this helps!

    Plugin Support Milind More

    (@milindmore22)

    @serhiikudelia As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Empty rel attribute on not AMP pages’ is closed to new replies.