This problem was noted on Zen theme five years ago: https://www.drupal.org/node/1601118 and eventually fixed in Zen. It has not been reported as a defect on Core where it also occurs and core themes have the problem, but although Core Bartik has the problem the responsive version does not.

The theme will not validate until fixed. The link it inserts is very slow and causes SEO issues as it is usually reported as a bad link. It probably make all page loads slower (needs a before and after test).

The fix is very simple:
override html.tpl.php with a fixed version in your custom. Delete one line from base version in /bootstrap/system/html.tpl.php

<head>
  <link rel="profile" href="<?php print $grddl_profile; ?>" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

delete the link line

Comments

yktdan created an issue. See original summary.

yktdan’s picture

Issue summary: View changes
yktdan’s picture

Issue summary: View changes
jainaman23’s picture

StatusFileSize
new500 bytes

HTML5 base specification dropped the profile attribute from the HEAD element.

Ref1: https://dev.w3.org/html5/profiles/drafts/ED-html5-profiles-20100522/

jainaman23’s picture

Status: Active » Needs review
yktdan’s picture

The change has been running on www.nynjtc.org for about a week and causes no problems.

markhalliwell’s picture

Category: Bug report » Task
Status: Needs review » Postponed (maintainer needs more info)
Related issues: +#2501275: Convert deprecated attributes in html.tpl.php

The profile isn't on the HEAD element. It's added as a separate LINK element for backwards compatibility. In fact, we've already done some work on this in the above related issue.

I'm tempted to mark as "Closed (won't fix)' since this can be done in a sub-theme if you really need/want this desired change.

I need clearer proof that we can safely remove this line without affecting existing sites.

yktdan’s picture

I just ran a demo test of bootstrap D8, and the headers are: (It does not have the link after the so D* doesn't need it for campatibility.)








Welcome to bootstrap 8.x-3.5 | bootstrap 8.x-3.5


yktdan’s picture

<!DOCTYPE html>
<html lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/  dc: http://purl.org/dc/terms/  foaf: http://xmlns.com/foaf/0.1/  og: http://ogp.me/ns#  rdfs: http://www.w3.org/2000/01/rdf-schema#  schema: http://schema.org/  sioc: http://rdfs.org/sioc/ns#  sioct: http://rdfs.org/sioc/types#  skos: http://www.w3.org/2004/02/skos/core#  xsd: http://www.w3.org/2001/XMLSchema# ">
  <head>
    <meta charset="utf-8" />
<meta name="Generator" content="Drupal 8 (https://www.drupal.org)" />
<meta name="MobileOptimized" content="width" />
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="/core/misc/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="" href="https://dcdvp.ply.st/rss.xml" />

    <title>Welcome to bootstrap 8.x-3.5 | bootstrap 8.x-3.5</title>
    <link rel="stylesheet" href="/sites/default/files/css/css_-VUn-5vCJZbIhOaDmUz7XFXXFKcVj5ZN9fD3Aaw9GXE.css?0" media="all" />
<link rel="stylesheet" href="/sites/default/files/css/css_Va4zLdYXDM0x79wYfYIi_RSorpNS_xtrTcNUqq0psQA.css?0" media="screen" />
<link rel="stylesheet" href="/sites/default/files/css/css_oLoewJLPFbWKGXqNDrYRklQWJf2be7iNS1Jd8NBvq-U.css?0" media="all" />
<link rel="stylesheet" href="/sites/default/files/css/css_iKAzMXiU7BR95sHR3i6jhrmSSsWnXRuX8xi1o12MDIU.css?0" media="all" />
<link rel="stylesheet" href="/core/themes/bartik/css/components/messages.css?0" media="all" />
<link rel="stylesheet" href="/sites/default/files/css/css_EXDJi965s0c5VF0i5v9gumbPnE_EMaMzGuMvhRCxki0.css?0" media="all" />
<link rel="stylesheet" href="/sites/default/files/css/css_Z5jMg7P_bjcW9iUzujI7oaechMyxQTUqZhHJ_aYSq04.css?0" media="print" />

    
<!--[if lte IE 8]>
<script src="/sites/default/files/js/js_VtafjXmRvoUgAzqzYTA3Wrjkx9wcWhjP0G4ZnnqRamA.js"></script>
<![endif]-->
<script src="/core/assets/vendor/modernizr/modernizr.min.js?v=3.3.1"></script>

  </head>
  <body class="layout-one-sidebar layout-sidebar-first user-logged-in path-frontpage">

forgot to wrap in code

markhalliwell’s picture

This isn't about the 8.x code (which has different RDF applications). This about the code in 7.x-3.x, which will affect thousands of sites.

markhalliwell’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

My comment in #7 still stands.