[Support request] Turn nofollow links into dofollow links

Home Forums Support [Support request] Turn nofollow links into dofollow links

Home Forums Support Turn nofollow links into dofollow links

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #753092
    Bestiale

    Hello,

    I have noticed that on the social media icons at the bottom of the website, I have “nofollow” links in the code.
    I want to remove rel=”nofollow”, to try to fix these links.

    Could you tell me where I should look for the source of the social media icons? WordPress says that they are widgets developed by GeneratePress. So, I assume you can help me with that?

    Thanks!
    Iliyana

    #753279
    Leo
    Staff
    Customer Support
    #772556
    Bestiale

    Hi there,

    Happy New Year!

    In the comments of the code that you sent, says that “it remove the rel= completely rather than changed it to rel=follow”. Can you tell me if this is the last version of this code or should I do something else?

    I don’t want to put it on my website if it is not working completely.

    Thanks!
    Iliyana

    #772594
    Leo
    Staff
    Customer Support

    Hmm maybe give this a shot:

    add_filter( 'lsi_icon_rel_attribute', function() {
        return 'follow';
    } );
    #813638
    Bestiale

    Thanks! I’m a bit confused as to where I can change the code for the social media icons at the bottom of the theme. Could you tell me where is the file for them and what is its name please?

    By the way the reason I am asking this is because Google is saying that they do not use the best coding practices so it would be ideal if you could fix this in the theme. Here are the issues according to Lighthouse:
    https://1drv.ms/u/s!Ap4o2XTLsCbyiLR3moHvi0FTccgWUA

    #814069
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That’s something that needs to be fixed in the plugin. I’ll try to get that done ASAP.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.