How to Fix SharePoint Redirects Opening at the Bottom of a Page
Question details
Users need a way to stop redirected SharePoint site pages from opening at the bottom of the screen after submitting a form.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- A user submits a SharePoint form (newform.aspx) that is embedded within an iframe, and the system uses the Source parameter to redirect to another site page.
- Observed behavior
- Instead of loading at the top of the destination page, the redirected page automatically scrolls to and opens at the bottom of the iframe.
Before modifying your URLs, test the redirect in an alternative web browser (like Edge or Chrome) and verify if the issue persists across different SharePoint sites to rule out local browser caching glitches.
Append the #top Anchor to the Destination URL
This is the most effective workaround to force the browser to prioritize the top of the redirected page, overriding the default iframe scroll behavior.
When dealing with iframes, browsers sometimes retain the scroll position of the previously active element (the submitted form). By explicitly defining an anchor tag in your redirect link, you give the browser a strict instruction to jump to the top.
Open the SharePoint page editing interface or the web part settings where your iframe source URL is configured.
Look at the URL string pointing to your newform.aspx and locate the 'Source=' parameter, which dictates where the user goes after form submission.
Append the text '#top' directly to the very end of the destination URL (for example: &Source=https://domain.sharepoint.com/SitePages/Home.aspx#top).
Publish your SharePoint page changes and submit a test form to verify that the destination page now successfully loads at the top of the iframe.

Perform Cross-Environment Testing
Determine if the scrolling behavior is isolated to a specific browser, user account, or a widespread SharePoint configuration issue.
Simplify Your Workflow with WPS Office
While troubleshooting advanced web platforms like SharePoint requires technical tweaks, your everyday document editing should be hassle-free. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office, letting you focus on productivity rather than complex setups.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button suitable for your operating system (Windows, Mac, or Linux).
- 2. Install WPS Office: Run the downloaded setup file and follow the brief on-screen instructions to complete the lightweight installation.
- 3. Open Your Documents: Launch WPS Office and drag-and-drop your existing .docx, .xlsx, or .pptx files into the workspace to begin editing immediately.

Frequently Asked Questions
Why do SharePoint pages automatically open at the bottom when embedded in an iframe?
When a user submits a form (like newform.aspx) inside an iframe, the browser may attempt to maintain focus on the last interacted element or adjust its view based on how the iframe loads its new content, resulting in the page appearing scrolled to the bottom.
What exactly does appending '#top' to a URL do?
Appending '#top' is a standard HTML fragment identifier. It explicitly instructs the web browser to jump directly to the uppermost section of the webpage as soon as the redirect destination is loaded.
Do I need special administrative permissions to fix this SharePoint issue?
You only need adequate permissions (such as Site Member or Edit privileges) to modify the specific SharePoint page or the web part where the iframe code and Source URL are configured.




