We have a DNN based websites being used for our company. Within that there are multiple sites among which there is a site at https://example.com/siteId25. This particular site have been modified by any one of the Admin's in such a way that upon visiting that url, its only downloading a document(.docx) file rather then showing the website which used to be there.
The file is within the hosted website's portal folder at path "wwroot/WebsiteFolder/Portal/25/Info siteId25.docx". Upon removing that file, it starts giving error.
We already have Testing version of that site on a different server, which is serving appropriate website page upon visiting that path. Upon checking the Site settings in the Website Persona Bar, as well as checking that in the database table Portal Settings, we didn't found any relevant settings to serve document rather then webpage.
Portal Settings
All of the settings are having same values default values in both production & in Testing environment. We tries switching Site Alias mapping mode from canonical to direct, but issue persist.
Can anyone please tell us any to set back url to show website rather then download file?
See my answer here: c# - DNN Portal website not showing up and only downloading a document file - Stack Overflow
Happy DNNing! Michael
Michael TobischDNN★MVP
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.