Apart from several tasks, the SharePoint administrator also creates and manages the redirections in SharePoint. When the SharePoint site is moved to another site because of some requirements. In those situations, administrators need to redirect SharePoint site to new URL. It helps to make the organization’s workflow seamless without affecting the productivity of users. However, some of the administrators are still unaware of the process to set up redirects in SharePoint. If you are also one of those or want to explore more solutions to create redirects, then you have reached the right place.
So, let’s start discussing all of the methods in a detailed manner
Method 1. How to Redirect SharePoint Site to New URL Using Site Swap Feature?
SharePoint offers the site swap option to simplify the redirection in SharePoint. Using this feature, SharePoint administrators can easily redirect the old SharePoint site to the new one. You can also create a SharePoint site if you haven’t not decided which would be the new URL. Now, follow the below steps to set up a permanent redirection in SharePoint.
- Launch your SharePoint application.
- Finalize both the sites: the old one or the new SharePoint site URL where the users are going to redirect.
- Now, move to the old SharePoint site.
- Click on the Settings option and select the option of site swap.
- In the Site swap settings, click on the destination or new SharePoint site URL where the users will be redirected.
- Lastly, click on the Swap, and then redirection of the SharePoint site to new URL will be done.
Method 2. Redirect Old SharePoint New SharePoint Site Using News Links
You can also redirect the sites to new URLs using the news link options. It will help you to create a temporary redirect between the old and new SharePoint sites. Let’s see how.
1. After opening the SharePoint application, navigate to the Source or old SharePoint site.
2. Now, click on the New option and select the News Link option.
3. Provide the new URL where the site is going to redirect.
4. Also, enter the Title and Description for the news links. Then hit the Post button to create the news link for redirection.
5. Now, open the Pages, and navigate to the newly created page using the News link.
6. Press right-click on it and select the option of Make homepage.
Now, all the users will be redirected to the new SharePoint site just after opening the old SharePoint site.
Method 3. Redirect SharePoint Site to New URL Using PnP PowerShell
You can also the PnP PowerShell commands to create a new page and then add it to the Source SharePoint site. By using the single command only, you can also set it as the home page. But make sure, you are good at the PowerShell commands because it can also affect the SharePoint file structures if the source or new URL is modified.
Connect-PnPOnline -Url "Enter New URL" -Interactive $NewRedirectPage = Add-PnPPage -Name "SPSalesDoc.aspx" -LayoutType RepostPage -Title "Sales Report" $NewRedirectPage.RepostSourceUrl = "Provide here" $NewRedirectPage.Save() $NewRedirectPage.Publish() Set-PnPHomePage -RootFolderRelativeUrl SitePages/SPSalesDoc.aspx
Challenges & Solutions While Redirecting SharePoint Site to New URL
When you redirect SharePoint site to new URL, then you might encounter numerous challenges. Some of them are as follows.
- There might be the possibility of picking the wrong Source SharePoint site because of the same naming conventions of the sites. Therefore, do not make the sites with similar names. Cross-check the source SharePoint to avoid such mistakes.
- Added the incomplete URL of the destination SharePoint site. So, to make the correct redirection test it after setting it up.
All of the above are common challenges that you might face. But if you are new to SharePoint administration backup SharePoint Online to local storage or the cloud would be the best way to avoid data loss. It can be achieved by the Reliable SharePoint Migrator. This tool can help you move your SharePoint data to another account effortlessly.
Final Words
Creating redirects in SharePoint is not a tough task, but it should be handled with care. Incorrect redirections can interrupt the user’s workflow. But from now onwards you can redirect SharePoint site to new URL without any interruption. Choose your best-suited method wisely for an error-free redirection in SharePoint Online.