WordPress.org

Ready to get started?Download WordPress

Forums

HL Twitter
[resolved] HL Twitter & rel="nofollow" (4 posts)

  1. leanderbraunschweig
    Member
    Posted 2 years ago #

    Hey there,

    first of all: By far the best (= reliable) Twitter-Plugin out there. Appreciate your work.

    Could you add an option to automatically "nofollow" the Twitter-Links? This tends to lower my link-score and I'd like to keep it clean... Or is this Twitter-dependant and can't be changed?

    Any workaround until this may be integrated?
    Thanks in advance!

    http://wordpress.org/extend/plugins/hl-twitter/

  2. Dachande663
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there, thanks for the kind words firstly!

    As for your issue, there currently isn't an option to add nofollow to links (and yes, it is something that HL Twitter, not Twitter, does).

    If you are comfortable editing PHP files, you can manually add this functionality while I get around to adding it properly.

    1. Open hl-twitter/functions.php
    2. Find the line "function hl_twitter_show_tweet(" (around line 260)
    3. Wherever you see "

  3. Dachande663
    Member
    Plugin Author

    Posted 2 years ago #

    Ah, seems WordPress has eaten my HTML. You need to add rel = " nofollow " (without the spaces) in between wherever you see < a href e.g. < a rel = " nofollow " href = .....

  4. leanderbraunschweig
    Member
    Posted 2 years ago #

    Superb! Thanks for getting back so swiftly & furthermore providing a simple workaround.

    I have been looking into the source-files but did halt any editing & tried asking beforehand.

    This does the job (place in betweeen a & href, line 260 onwards)
    rel=\"nofollow\"

    Thanks mate & keep it up!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags