I have a very strange scenario where I provide a href url in my page with a port number in my localhost and server. I have a link which is https://localhost:8242/tagurl?tagid=2/view/
, I can observe that it is the url my browser is using when clicked but when the page is loaded, it is changed to localhost/tagurl?tag_id=2/view/
resulting a page not found error.
UPDATE
Link can be viewed including the port number if copying it directly to the browser but not when url is clicked.
Someone has idea on this?
Okay. After a long way of testing, I have figured it out. I don't know about the reason but I have to do it this way.
https://localhost:8242/tagurl/?tagid=2/view/
I just added a front slash. Without front slash and just directly typing the url, https://localhost:8242/tagurl?tagid=2/view/
works well.