Hiurmas ,
My re-direct is working fine, however any web page file in Knowledge store is getting downloaded in 15.2 and above, even after removing download parameter from url.
Please find a basic redirect which is working fine on 15.3 version for me.
<!DOCTYPE html>
<html>
<style type="text/css">
html, body, div, iframe { margin:0;padding:0;}
iframe { display:block; width:100%; border:none; }
</style>
<body>
<script>
var url1 = window.location.href;
alert("URL Link"+url1);
var Get_FromUrlID = url1.indexOf("&Project_ID=");
var Get_ID= url1.substring(Get_FromUrlID + 12, Get_FromUrlID + 19);
alert("URL Get_ID"+Get_ID);
var myiframe =document.getElementById('myiframe');
myiframe.src = "../niku/nu#action:projmgr.projectProperties&id="+ Get_ID ;
</script>
<iframe id="myiframe" frameborder="0" border="0" height="600"></iframe>
</body>
</html>
check if this sample script work for you, also if anyone has solution to avoid Knowledge store web page files getting downloaded in html porltet, do let us know.
Regards,
Prashank Singh