SharePoint Document Issues

Fix SharePoint ASPX Pages Redirecting or Appearing Blank on Mobile

Steven ParkerSteven Parker Nov 14, 2026 868 views

Question details

Determine why an uploaded ASPX page redirects or appears blank on mobile and find a supported way to display its content.

Fix SharePoint ASPX Pages Redirecting or Appearing Blank on Mobile
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
An HTML file containing CSS and JavaScript was renamed with an ASPX extension and uploaded to a SharePoint document library.
Observed behavior
The page may open on desktop but redirect to a SharePoint _layouts URL or appear blank on mobile. It also appears blank in desktop mobile-device emulation.
Before you start

Have the original page URL, the library location, and a test account with access to the file ready. Check whether your SharePoint site allows you to create pages or whether you need an administrator's help.

Solution 1Recommended

Test the ASPX File, Access, and Mobile Browser Behavior

Use a simple test file and compare URLs to determine whether the behavior is specific to the custom page.

1
Test a simple file

In the same SharePoint document library, use Upload to add a simple ASPX test file if your site's policies allow it. Open its direct link on desktop and mobile, and note whether it also redirects or appears blank.

2
Check the file location and access

In the library, select the affected file and open Manage access from its menu. Confirm that the mobile test account can access the file and is signed in to the same SharePoint site.

3
Compare browser results

Open the same direct file URL in desktop and mobile browsers. Record the destination URL if it changes, and use the desktop browser's mobile-device emulation to check whether the blank page can be reproduced.

4
Inspect the custom page

Open the original HTML in a code editor and check its CSS, JavaScript, and referenced resource paths. Use the desktop browser's developer tools Console and Network tabs while reproducing the issue to look for script errors or failed requests.

Test the ASPX File, Access, and Mobile Browser Behavior
Renaming is not a conversion: Changing an HTML file's extension to ASPX does not make it a supported SharePoint page. A successful test with a simple file does not guarantee that custom scripts or styles will work.
Free Microsoft Office alternative

Edit Office Documents with WPS Office

WPS Office is a free, lightweight alternative for editing Office documents with a familiar interface and format compatibility that makes migration easier. It does not fix SharePoint ASPX redirects.

Edit documents associated with your SharePoint work in a familiar office interfaceCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXUse a free, lightweight suite for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Why does my renamed HTML file redirect on mobile?

The redirect may depend on SharePoint's handling of the file, access, or mobile browser behavior. Renaming HTML to ASPX does not make it a supported SharePoint page, so test a simple file in the same library and compare the resulting URLs.

How can I tell whether my custom JavaScript is causing the blank page?

Reproduce the blank page in desktop mobile-device emulation, then check the browser developer tools Console for script errors and the Network tab for failed resource requests.

Why can't I upload my ASPX file to Site Pages?

Site Pages is intended for SharePoint pages, and uploading a renamed HTML file may not be supported even for an administrator. Use New > Page on the site to create a supported page instead.

What should I use for custom interactive content on a SharePoint page?

Use supported page web parts where possible. If the functionality requires custom development, consult a SharePoint developer about a SharePoint Framework solution.