Replace hyperlink navigation url

I would like to rewrite the url in asp.net for a document library website user should not be able to see the url for eg ; if my original url is https://sharinglibrary/Upload/What%20To%20Ask%20Your%20Technology%20Provider%20Tankersley%20Johnston-142130141.pdf

when user clicks on above hyperlink ,user should see different url

how can i hide the path /Upload

when user click on hyperlink he should be seeing path as https://sharinglibrary/xyz

Hi vaibhavimokal22 welcome to the forum

It’s been a while since I’ve worked with any .NET, and maybe I’m thinking Java, but there should be something like FileReader

You can create a file at the “visible” URL, have that file do conditional checks etc. read the actual file, and return that files contents.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.