Skip to main content
8 events
when toggle format what by license comment
Aug 20, 2013 at 17:44 comment added Mołot Well, 2 and 3 was just suggestions I believe could help future readers, not bugreport on your answer ;)
Aug 20, 2013 at 15:52 history edited Triskelion CC BY-SA 3.0
added 14 characters in body
Aug 20, 2013 at 15:46 history edited Triskelion CC BY-SA 3.0
added 14 characters in body
Aug 20, 2013 at 15:45 comment added Triskelion @Mołot You are right about the protocol (thank you - was in a hurry). I have updated the answer. The OP specifically asked about links to pages. I assume if he wants to change other links, the pattern would change accordingly. I agree about the relative links.
Aug 20, 2013 at 8:01 comment added Mołot 1) Without http:// before domain name browsers should treat links as a relative. If they are absolute, there is supposed to be protocol in them. 2) It could be better to just get rid of the domain name instead of updating it, for future. 3) The way you wrote it, it will not work for things like images and embedded media, and might fail for the links created with any kind of wiki-like or bb-like syntax, nor for the ones dynamically created from URLs plainly pasted into node/comment body.
Aug 19, 2013 at 21:41 history edited Triskelion CC BY-SA 3.0
added 91 characters in body
Aug 19, 2013 at 21:18 history edited Triskelion CC BY-SA 3.0
added 184 characters in body
Aug 19, 2013 at 21:12 history answered Triskelion CC BY-SA 3.0