Archived topic
remove insecure link in header
10 replies · Started by imke on May 17, 2018
Hi Team,
in Europe every site has to be made secure (https) by law until May 25th 2018:
I 've got the alarm about this link in the head:
<link rel="profile" href="http://gmpg.org/xfn/11">
How can I remove it please. It's not necessary, isn't it?
Thanks in advance,
Imke
Hi there,
It's not actually a link, it's just a reference in your <head> section. It won't prevent your website from being secure :)
Hi Tom,
okay ...understand, but I'm not sure how much this is getting me in trouble, because it has to be secure - all! They are making a big thing out of it at the moment, everybody is busy closing the gaps. Please tell me how to get rid of this reference-link. The browser shows the site is not secure because of this.
Thank you so much in advance,
Imke
You would have to copy header.php from the parent theme and add it to your child theme.
Then you can remove the reference from the file.
Ah, okay ....I wasn't sure. Thanks, I have a try.
No problem - let me know if you run into any issues.
Thanks, I hopefully won't .... ;)
Done it - it's easy - Thanks a lot!!
You're welcome! :)
Tom, this solution works here, too.
I just wonder why this is still there. In HTML5, this is marked as obsolete.
https://html.spec.whatwg.org/multipage/obsolete.html#attr-head-profile
Yea, it's likely time to remove it completely. It's been the standard with WP themes for a long time, which is why it's there in the first place. Will do some research :)