We have a problem to reach the original post (replied post that has referenced) when the reference is clicked.
First of all, we have yesilkartforum.com as our main website and it has other subdomains. Forum is one of them, so we have decided to use yesilkartforum.com/forum subdomain rather than forum.yesilkartforum.com
We have two separate hosts in Digital Ocean that is linked with a reverse proxy. And wordpress is installed on the main website.
Additionally, we have pagination on at the forum settings, 20 posts per page, when someone clicks the reference (please see blue and red boxes below) to see the original message that was replied; if it is not on the same page, we get 404 error; if it is on the same page, then it shows us the post.
I want to point out that if we disable pagination then, we do not have the same problem, so I believe the problem is related to pagination.
For example, when someone clicks the blue box, since the original post is one post above, it takes us there. However, when someone clicks the red box, since it is in previous pages, it gives us 404 error. Please see the link below on the picture. When you move the cursor over red box, it is referencing main website /post/12345 rather than main website /forum/post/12345.
Is there anything we can do to fix this problem ? Thanks a lot.
Many thanks again.