Re: Open Links in new window
@_ck_, Nevermind my earlier post. It is already working on sub-domains. Sorry for the confusion.
However, I am having the same problem as @cwdnow. Internal links are working as expected: they open in same window with “nofollow” tag removed.
The code is broken when it deals with external links, though. It adds the attributes target=”_blank” and rel=”nofollow” but the URL is broken. I haven’t dug too deep yet, but I think the reg ex is too broad (selecting too much).
Here is the code that I’m using:
Here is what it is outputting:
I will post an update if I figure out what it is. In the meantime, do you happen to know what is causing this?