Fix PDF Links Not Opening to Specific Pages in SharePoint
Question details
Users need SharePoint PDF URLs containing the page fragment parameter to open directly to the specified page rather than the first page.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Clicking a shared SharePoint link intended to open a PDF document to a specific page using the #page=XX URL parameter.
- Observed behavior
- The PDF file either downloads automatically to the local drive or opens in the browser on page one, ignoring the specified page number.
Verify that your SharePoint link format is correct (e.g., ends exactly with #page=5) and ensure you have sufficient permissions to view the file.
Configure Microsoft Edge to Open PDFs in the Browser
Change your browser's default behavior from downloading PDF files to opening them inline, which allows the page fragment parameter to function properly.
When an organization configures Microsoft Edge or Google Chrome to automatically download PDF files by default, URL parameters like #page=XX are ignored. The browser must display the PDF using its built-in viewer to process these page-specific instructions.
Launch Microsoft Edge, click the three-dot menu icon in the top-right corner, and select 'Settings'.
In the left sidebar, click on 'Cookies and site permissions'. Scroll down the right pane and click on 'PDF documents' under the 'All permissions' section.
Find the toggle labeled 'Always download PDF files' and switch it to the OFF position. This ensures PDFs open natively within Microsoft Edge.
Return to your SharePoint site, refresh the page, and click the PDF link again. The document should now open directly in the browser to your specified page.

Isolate the Issue Using Alternative Browsers and Files
Perform diagnostic tests to determine if the URL fragment failure is isolated to a specific browser, user account, or corrupted PDF file.
View and Manage PDF Documents Effortlessly with WPS Office
While troubleshooting browser settings for SharePoint links can be time-consuming, having a reliable desktop application guarantees your PDFs always display as intended. WPS Office provides a lightweight, free alternative to Microsoft Office, featuring a powerful built-in PDF reader and editor for seamless document navigation.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the Software: Run the downloaded installation file and follow the on-screen prompts to set up WPS Office on your computer.
- 3. Open Your PDF: Launch WPS Office, select 'PDF', and seamlessly view, edit, or navigate to specific pages in your documents.

Frequently Asked Questions
Why do my SharePoint PDF links download instead of opening in the browser?
This occurs when your web browser is configured to automatically download PDF files rather than displaying them inline. Disabling the 'Always download PDF files' setting in your browser (like Edge or Chrome) allows its built-in viewer to open the file and process page-specific link parameters.
What is the correct format for linking to a specific page in a SharePoint PDF?
To link to a specific page, append '#page=XX' (where XX is the exact page number) to the very end of your PDF URL. For example: 'https://yourdomain.sharepoint.com/sites/docs/file.pdf#page=5'.
Does the #page URL parameter work in all web browsers?
Most modern browsers, including Microsoft Edge, Google Chrome, and Mozilla Firefox, fully support the '#page=XX' parameter using their native PDF viewers. However, if a third-party PDF extension is installed, or if the browser is forced to download the file, the specific page targeting may fail.
Can I link to a specific section or bookmark inside a PDF instead of just a page?
Yes. If your PDF document contains named destinations or bookmarks, you can use '#nameddest=DestinationName' at the end of the URL. Note that this requires the PDF to be properly formatted with these bookmarks prior to uploading it to SharePoint.




