Question

Photo of Brandon Fuchs

0

Deleting Pages Used By Rock

I mistakenly clicked the copy button under the page map in the internal site. i now have multiple internal sites and its causing many errors. I have located the page list but the Xs to delete the pages are disabled because the pages are used by rock. I understand the primary copy cant be deleted but the copies need to be deleted. Can someone help.

  • Photo of Michael Degnan

    1

    copy pages.PNG

    Hello Gladson


    I am having the same problem however the option to delete those pages are grayed out. 

  • Photo of Jim Michael

    1

    The page is protected because its IsSystem column is set to 1, which presents a problem when you accidentally clone such a page. You'll need to run a SQL query against the database like so (you can run it from the SQL powertool, but please be careful!)

    Update Page

    Set IsSystem = 0
    Where Id = [ID of page you want to delete]

    After that, the page should be delete-able from the UI as shown above.

    FYI I believe this issue is fixed in Rock v7 so it's not so easy to clone a system page.



  • Photo of Gladson Jacob

    0

    Hi Brandon,

    Use Page Map under Admin Tools -> CMS Configuration, click on the copied page or it's parent. It will take you to the respective page. Click on Child Pages, on the Admin Tool Bar, at the bottom. From there, you can delete the child pages.