I have a standalone html file that contains a sales report, created in R. I have saved the file to the SitePages folder. I have then added a link. When I edit the link and paste in the filepath, I can open the file when I try the link. However, after saving, and trying to open the link, I get a 404 error.
The path that works is basically
\\mydomain.com\DavWWWRoot\projects\myproject\SitePages\test%20rapport.aspx
However, after saving and trying to open, I can see that the attempted file path is
//projects/myproject/\\mydomain.com\DavWWWRoot\projects\myproject\SitePages\test%20rapport.aspx
Note that the projects/myproject/
is added automatically.
I have tried editing it to /projects/myproject/SitePages/test%20rapport.aspx
as it seems like it forces the projects/myproject/
part on the link, but this doesnt work. I am suspecting there might be an issue with escape characters and the slashes.