Others

Redirect a SharePoint Library URL to an HTML Page

Natalie TaylorNatalie Taylor Nov 14, 2026 869 views

Question details

The user wants a SharePoint library URL to open an inner index.html page instead of the library view.

Redirect a SharePoint Library URL to an HTML Page
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
A visitor opens a URL such as /apuestas-deportivas and should reach /apuestas-deportivas/index.html.
Observed behavior
The library URL opens the document library's AllItems.aspx view instead of redirecting to index.html.
Before you start

Confirm whether the SharePoint environment is Online or on-premises, and test the full index.html URL to see whether it opens in the browser or downloads. Also check whether you control the hostname used by visitors.

Solution 1Recommended

Check the SharePoint environment and target page

Use this approach to identify the appropriate redirect options before changing the library URL.

A document library URL can open its default AllItems.aspx view; it does not automatically treat index.html as a default page. HTML rendering behavior can also depend on the SharePoint environment and its security settings.

1
Identify the environment

Ask your SharePoint administrator whether the site runs in SharePoint Online or on-premises, and provide the library URL and desired index.html URL.

2
Test the target

Enter the full /apuestas-deportivas/index.html URL in a browser and check whether the page renders, downloads, or returns an error.

3
Request configuration guidance

For SharePoint Online, ask your administrator about an established redirect method for your setup. For an on-premises installation, post the URL structure and SharePoint version in a dedicated SharePoint community forum for environment-specific guidance.

Check the SharePoint environment and target page
Direct access matters: A redirect alone will not make the HTML page render if the target is configured to download or cannot be accessed by the visitor.
Free Microsoft Office alternative

Work with Office files using WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility, making it easy to move between office suites. It does not configure SharePoint redirects.

Edit documents, spreadsheets, and presentations in a familiar interfaceOpen and save Microsoft Office formats such as DOCX, XLSX, and PPTXWork with Office files downloaded from a SharePoint libraryUse a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does the library URL open AllItems.aspx?

SharePoint can open a document library's default view when you visit the library URL. That URL does not automatically redirect to an index.html file stored in the library.

Will a redirect make index.html display in the browser?

Not necessarily. Open the full index.html URL directly first. Depending on the environment and security settings, SharePoint may download the file rather than render it.

Can I configure a redirect on a SharePoint Online hostname through my own proxy?

You cannot add your own proxy rule to a Microsoft-managed SharePoint hostname. Ask your administrator about supported redirect options or a separate visitor-facing hostname your organization controls.

What information should I provide when asking for help with an on-premises redirect?

Provide the SharePoint version, the source library URL, the full index.html target URL, and the result of opening the target directly. Post these details in a dedicated SharePoint community forum.