WordPress.org

Ready to get started?Download WordPress

Forums

Force target="_blank" and rel-"nofollow" (1 post)

  1. Shyzer
    Member
    Posted 2 years ago #

    Back in WordPress 2.X, I was able to edit line 369 of the quicktags.js file to read as follows:

    edButtons[i].tagStart = '<a href="' + URL + '" target="_blank" rel="nofollow">';

    This allowed me to automatically, by default, include target="_blank" and rel="nofollow" in all my links.

    Unfortunatly I can't seem to replicate this fix in WP 3.3. I edited line 572 of the dev file to this:

    t.tagStart = '<a href="' + URL + '" target="_blank" rel="nofollow">';

    But that didn't produce the desired result.

Topic Closed

This topic has been closed to new replies.

About this Topic