This is the same question that has been asked elsewhere on the site but at the moment it’s in the C# and .Net categories and so are the answers whereas i need to know how to do it in html.
So i’m trying to download the file at url http://example.com/example.docx and the url s being redirected to http://example.com/example.docx? so internet explorer doesn’t recognize it although Google chrome does oddly. So i would like to know is there any way to avoid this happening by altering my html code?
Html Code is pretty standard…
<p><a href="http://example.com/example.docx">Link Text></a></p>
Finally if you type in http://example.com/example.docx manually it works
Thanks
The redirection is happening on the server side – it is doing the redirection at the end URL.
There is nothing you can do to your markup to change this.