Others

How to Fix SharePoint Redirects Opening at the Bottom of a Page

Ayan MasoodAyan Masood Nov 3, 2026 868 views

Question details

Users need a way to stop redirected SharePoint site pages from opening at the bottom of the screen after submitting a form.

How to Fix SharePoint Redirects Opening at the Bottom of a Page
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 you start

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.

Solution 1Recommended

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.

1
Locate the iframe embed code

Open the SharePoint page editing interface or the web part settings where your iframe source URL is configured.

2
Find the Source parameter

Look at the URL string pointing to your newform.aspx and locate the 'Source=' parameter, which dictates where the user goes after form submission.

3
Add the #top anchor

Append the text '#top' directly to the very end of the destination URL (for example: &Source=https://domain.sharepoint.com/SitePages/Home.aspx#top).

4
Save and test

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.

Append the #top Anchor to the Destination URL
Consistent Behavior: Using the #top anchor is a standard HTML practice and is widely supported across all modern web browsers.
Free Microsoft Office alternative

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. 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. 2. Install WPS Office: Run the downloaded setup file and follow the brief on-screen instructions to complete the lightweight installation.
  3. 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.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Unlike managing complex SharePoint web parts, WPS Office offers a straightforward, familiar interface with zero learning curve.Lightweight installation ensures smooth performance even on older devices.All-in-one suite combining documents, spreadsheets, presentations, and advanced PDF editing tools.
microsoft office alternative - wps office

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.