I use sharepoint online.
I'm trying to upload an ASPX file and neither sharepoint online or sharepoint designer will let me. So I rename the extension to .txt and I was able to upload it and then I renamed it .aspx and it won't let me do anything with it. I get an error that says:
Server error: The URL 'SitePages/myfile.aspx" is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
Any suggestions are appreciated!