Kacee Active member Nov 24, 2011 #1 I tried to post a link with an URL "/forums/news/" but it became "http:///forums/news/" How do you do it? Is it even possible?
I tried to post a link with an URL "/forums/news/" but it became "http:///forums/news/" How do you do it? Is it even possible?
Fuhrmann Well-known member Nov 24, 2011 #2 You can use this Code: <a href="{xen:link forums/news}">News</a> Upvote 0 Downvote
Mike XenForo developer Staff member Nov 24, 2011 #3 Links inside posts have to be absolute. Upvote 0 Downvote
Kacee Active member Nov 24, 2011 #4 Is it any reason behind this? Fuhrmann said: You can use this Code: <a href="{xen:link forums/news}">News</a> Click to expand... Sorry I wasn't clear, I was talking about insert links it posts. Mike said: Links inside posts have to be absolute. Click to expand... Is there any reason behind this? I thought it would be better to use relative URL in case you change your domain? Upvote 0 Downvote
Is it any reason behind this? Fuhrmann said: You can use this Code: <a href="{xen:link forums/news}">News</a> Click to expand... Sorry I wasn't clear, I was talking about insert links it posts. Mike said: Links inside posts have to be absolute. Click to expand... Is there any reason behind this? I thought it would be better to use relative URL in case you change your domain?
Mike XenForo developer Staff member Nov 24, 2011 #5 Kacee said: Is there any reason behind this? I thought it would be better to use relative URL in case you change your domain? Click to expand... A design decision really, partially to white list allowed protocols. Upvote 0 Downvote
Kacee said: Is there any reason behind this? I thought it would be better to use relative URL in case you change your domain? Click to expand... A design decision really, partially to white list allowed protocols.