No More Opening Links in New Windows

I finally got around to changing all of my target="_blank" links to rel="external". Using a similar technique to the previous database cleanup, I ran these queries through PHPMyAdmin.

Fix Posts:

UPDATE wp_posts
SET post_content =
REPLACE(post_content
  ,' target="_blank"'
  ,' rel="external"'
  );

Fix Comments:

UPDATE wp_comments
SET comment_content =
REPLACE(comment_content
  ,' target="_blank"'
  ,''
  );

Now the only time links will open in new windows (well from the blog content at least) is from the comment pop-up windows.

I’ve been meaning to do this for ages but I just haven’t had sufficient roundtuit. I kept up the _blank charade so I could do this SQL update and hit everything consistently. Anyway, it’s done now. :)