Forum Discussion
Thao Pham-Aaltonen
Sep 19, 2018Brass Contributor
Copy or Move Site Page from one site to another
Hello, I've been searching to see if this is possible but it appears with the modern experience, you can only copy a site page to the same Site Pages library in the same site. If I switch my view to...
SvenSieverding
Feb 22, 2023Bronze Contributor
Hi Thao Pham-Aaltonen,
you can also use "PnP Powershell" and a provisioning template to copy site pages to different site collections
First install PnP Powershell and the execute this script
Connect-PnPOnline https://yourtenant.sharepoint.com/sites/mysite -Interactive
Get-PnPSiteTemplate -Out ".\pages.xml" -Handlers PageContents -Includeallclientsidepages
This will give you an XML file containing all the client side pages of that site. Now you can edit that file and remove the pages you don't want to transfer. Then connect to the target site and apply the template
Connect-PnPOnline https://mytenant.sharepoint.com/sites/othersite -Interactive
Invoke-PnPSiteTemplate ".\pages.xml"
A little bit overdone if you just want to transfer a single page but works really well if you want to transfer multiple pages.
Although this is also an external tool like Sharegate it is at least free.
Best Regards,
Sven