Forum Discussion

AbhishekIlindra's avatar
9 years ago

Message web service not sending correct URL in self referncing links

We are inserting a link in an Article using href without specifying the full path. Ex: href="#xxxxx". But we have observed that when we publish this Article, the full path is being prefixed before the '#'. We do not want the full path to be displayed in the Article. So, we would like to know if there is a way to override this behavior?

 

  • DougS's avatar
    DougS
    Khoros Oracle

    Web browsers automatically insert the domain and path of the page you are on before the value of the href parameter when you don't specify a path. That appears to be what you is happening here. There is really no way around that, since that is how web browsers were designed to work. If you "view source" on the page, you will see that the full path is not there.