• Resolved AlanP57

    (@alanp57)


    It seems that for stylesheet links your plugin removes the ‘http’ and uses just ‘//’. This is causing a AMP validation error

    <link rel=’stylesheet’ id=’theme-css’ href=’//testing.sitename.com/wp-content/themes/theme-name/style.css?ver=2.0.1′ type=’text/css’ media=’all’ />

    The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the invalid value ‘//testing.sitename.com/wp-content/themes/theme-name/style.css?ver=2.0.1’

    And there is no ‘link rel=stylesheet for fonts’ so I think the validator thinks that ‘//’ is pointing to a style sheet for a font.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin removes the ‘http’ from stylesheet links’ is closed to new replies.