Skip to:
Content
Pages
Categories
Search
Top
Bottom

No follow links code.


  • b1gft
    Participant

    @b1gft

    Is there a code I can do to make all links no follow and where do I put the code,
    Thanks

    BP version 1.7
    WP version latest.

Viewing 2 replies - 1 through 2 (of 2 total)

  • Hugo Ashmore
    Keymaster

    @hnla

    There is no ‘code’ at least not until it’s written, how comfortable are you with client side scripting? Easiest approach is add the attribute using jQuery but you’ll also need some means of adding it to your site either via enqueueing it through functions.php, or – but not a great approach – adding it manually to the head section of your documents through header.php.


    Roger Coathup
    Participant

    @rogercoathup

    Depending where the links are being added / submitted, you might also be able to add a filter in your PHP code to strip them out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No follow links code.’ is closed to new replies.
Skip to toolbar