remove nofollow for dofollow
Hello
I want to remove and transform nofollow links in posts and comments dofollow
I tried pulgins as dofollow, KeywordLuv and other
I tried this code:
gkp_remove_nofollow function ($ text) {
$ text = preg_replace ("/ (<a[^>] * [^ \ s]) (\ s * nofollow \ s *) / i", "$ 1", $ text);
$ text = preg_replace ("/ (<a[^>] * [^ \ s]) (\ s * rel = [\" \ '] \ s * [\ "\']) / i", "$ 1" , $ text);
return $ text;
But nothing works, links in psotes are pink and not blue!
Please tell me if there is a method or code to remove the nofollow ads and comments
thank you