• xerocool

    (@xerocool)


    Hiya,
    I’m kinda screwed up here. I would like my posts to automatically convert all links that have blah to blah (so it adds target= _blank_”) to it.
    Any way i can do this? with out doing it automatically for every post?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Beel

    (@beel)

    This is like aiding and abetting a lawbreaker, but you could so a global search and replace in the database using phpmyadmin.

    Thread Starter xerocool

    (@xerocool)

    I’m not *that* familar with phpmyadmin..I have it but i barely know how to modify the tables.

    Beel

    (@beel)

    Beel

    (@beel)

    backup first ??

    Thread Starter xerocool

    (@xerocool)

    UPDATE wp_posts
    SET post_content =
    REPLACE(post_content
    ,’ stringtobereplaced’
    ,’ withthisstring’
    );
    So what would i put in “stringtobereplaced” and “withthisstring”…

    Minna

    (@minna)

    Hmm.. interesting. I’ve always found it very annoying that external links open in the same window… ?? Especially if it’s not obvious they’re external.
    (sorry…!)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘insert target= _blank_ in all links’ is closed to new replies.