In the file header.php on the next line after the tag you need to add a few lines, for example
<link rel="dns-prefetch" href="//fonts.googleapis.com"> <link rel="dns-prefetch" href="//themes.googleusercontent.com"> If you add 1 line - everything is OK, but it is worth adding one more
sed '/<head>/ a \ <link rel="dns-prefetch" href="//fonts.googleapis.com"> <link rel="dns-prefetch" href="//themes.googleusercontent.com"> ' header.php > header2.php sed: -e expression # 1, symbol 70: unknown command: `<'
And is it possible to do without creating an output file?
\n, the-ised parameter causes it to rewrite the source file - Mikehref="//fonts.googleapis.com">I need to add a backslash "\". - zombic