1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Relative Links in Redactor

Discussion in 'XenForo Questions and Support' started by SignTorch, Aug 22, 2013.

  1. SignTorch

    SignTorch Active Member

    When I try to make a relative link like "/community/resources" in redactor

    it always comes out like http:///community/resources

    whether I use the link button or bbcode, even if I disable listeners in config

    is that normal?
  2. Mike

    Mike XenForo Developer Staff Member

    Yes, we don't allow relative links.
  3. SignTorch

    SignTorch Active Member

    alright, that's good to know, I was worried I caused that,

    For reference may I ask why relative links are not allowed?

    That's making it hard to develop/test content with internal links on localhost .
  4. Mike

    Mike XenForo Developer Staff Member

    It's really just a design decision that was made. There are some situations where there is no base URL or there's an ambiguity, so the requirement of absolute URLs resolves that.
  5. SignTorch

    SignTorch Active Member

    ok thanks, I did a little fix to replace localhost with the domain name, that's working out ok....

Share This Page