Forum Discussion
.ASPX Files Now Download Instead of Launching from SharePoint
Hi @KellyDoyle
Thanks for posting about this. I have a similar issue.
There is a possible work around that may work for some of the folks who end up on this thread.
With out of the box SharePoint online functionality you can create an ASPX page which redirects to another page / file / website.
In my case we have a Learning Management System (LMS) which hosts our StoryLine and RISE360 files (so we weren't storing them and trying to open them from a SharePoint library, as most people in this thread are).
In Kelly's case if you can host the Rise and StoryLine files on another site the problem becomes how to I redirect people who use the old ASPX page address to the new location?
e.g. I've got the following Rise360 page which was working but now downloads for all users: /sites/intranet/learning/security101.aspx
Because of this download problem you've moved this course to https://ourinternalserver/learning/security101.html
By adding the "link to a document" out of the box content type to the /sites/intranet/learning/ library, deleting the original security.aspx file and creating a "link to a document" file called security101 with the "document url" of https://ourinternalserver/learning/security101.html your users:
- with the bookmark etc will get redirected to the course in it's new home.
- SharePoint search will still find the security101.aspx file
Full details on this technique are here https://techcommunity.microsoft.com/t5/sharepoint/redirect-sharepoint-modern-page/m-p/4192276/highlight/true#M82294
It took me a while to work this out but it seems to be robust in our environment.
I hope this helps, if you have an option of another location for your Rise and StoryLine files.