Converting SP 2010 Page Layout to Sharepoint 2013 Page Layout RRS feed

  • Question

  • Hi all,

    We migrated SP2010 publishing site to SP2013. Issue is, in SP2010 we have a custom page layout and in pages library we have some documents using this page layout and after migration the pagelayout did not upgrade, so do i need to create new page layout in 2013? If yes, then creating new ones with new page layout is fine but how do i change the layout of existing published page layout without checking out. Please guide me



    • Edited by Star222 Wednesday, March 30, 2016 8:42 PM
    Wednesday, March 30, 2016 8:42 PM


All replies

  • Hi,

    you can update a the new pagelayout using poweshell but its not possible to update a pagelayout with out checkout the page.

     $spWeb = Get-SPWeb("http://currentsitename/webname")
     $spFile = $spWeb.GetFile("http://currentsitename/webname/Pages/Test-Page.aspx")
     $spFile.Properties["PublishingPageLayout"] = "/_catalogs/masterpage/Block.aspx, Block" 
     $spFile.CheckIn("Update page layout via PowerShell",[Microsoft.SharePoint.SPCheckinType]::MajorCheckIn)


    Please remember to mark your question as answered, if this solves your problem.

    Thursday, March 31, 2016 5:03 AM
  • Hi Star222,

    According to your description, you want to change the current page layout.

    If you want to change the default page layout for creating the pages,

    Go to  [site settings] [look and feel] [Page layouts and site settings]  Under new page default setting, select the page layout you want.

    After creating the page, you can edit the page and change the page layout

    In addition, you can use SharePoint designer->page layout to change it.

    Best Regards,


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact

    Thursday, March 31, 2016 6:31 AM