Posted Internal Link Not Loading Dynamically


(Vikas Dangi) #1

My problem is that when clicking posted internal links in my forum, they are reloading the full browser.


(Vikas Dangi) #2

Able to find the real problem behind it as mentioned in this post

@sam @codinghorror But still don’t know how to fix it.


(Jeff Atwood) #3

Do your links also lack protocol as in the previous topic?


(Vikas Dangi) #4

Yes, when I check the source code the href link have no protocol (http).

Exactly same as mentioned below in this post -


(Jeff Atwood) #5

Sounds like there is a problem with your configuration.


(Vikas Dangi) #6

I have installed the software by following the steps given in github discourse/INSTALL-cloud.md at master · discourse/discourse · GitHub

Did not do anything extra. My host is digital ocean.


(Vikas Dangi) #7

Another thing I found which may be causing the problem -
All the posted internal link in my forum ends with ‘?source_topic_id=62’ which may be causing the problem.
The internal links in this forum or in other discourse forums did not ends with this code. So I guess its the actual problem I am facing.


(Vikas Dangi) #8

Still finding the ways to fix it but can’t. Please can anybody solve my problem?

I have posted my internal links like this “http://domain.com/t/slug/123/1” but when I check the source code it producing links like this href="//domain.com/t/slug/123/1?source_topic_id=ID"

And the result is the link is not opening dynamically and refreshing the browser.