8

Whenever I type something resembling a URL (for example "asp.net") at twitter.com, it automatically converts it into a real link. Is there a way to 'escape' this conversion if I want it to remain plain text?

1
  • is there a reason? Usually things like superuser-dot-com are not translated
    – aaaaaa
    Jan 31, 2016 at 9:59

2 Answers 2

4

The only practical way I've found is to munge the URL in some way. Enclosing in single-quotes, double-quotes, parentheses, brackets, braces, backticks, etc., has no effect.

The classic way is to "escape" the dot character: asp[dot]net.

Adding a couple of extra spaces around the dot would also do the trick: asp . net.

If you can manage to insert a zero-length character (such as U+200B) in the string, that should do the trick as well. (Alt+08203 seems to work on Windows.)

The only other way I can see to make this happen is to use a third-party Twitter client. Then again, the API may convert the URL-like strings to URLs on the server side anyway.

2

Go to this site: http://www.labnol.org/internet/twitter-auto-converts-links/20771/ and type your "URL resembling" text in the textbox. It will output the same text which does not create a hyperlink in a tweet. It can also be used to remove hyperlinks from @mentions and #hashtags

More explanation is in this video: https://www.youtube.com/watch?v=nmq908lqCmk

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.