Hi @garrettb !
I don’t know if there is a better way, but if you “only” have 20 or 30 pages, maybe you can update them using the Bulk Edit action in the Pages in WP Admin.
The way I would proceed would be something similar to this:
0. Before proceeding, I would remove the old “bands” page from the trash to avoid confusion.
1. Go to https://www.yoursite.com/wp-admin/edit.php?post_type=page&parentId=10. Make sure that you use your site URL and change the parentID for the ID of your “bands” page. If you don’t know how to get your page ID, you can follow this guide. You could even use a plugin like Parent Page Filter as well. Which will provide an interface instead of modifying the URL.
2. Once you have filtered all the pages you want to modify, you can check them all with the checkbox at the top-left corner. Next to “Title”.
3. Once all of them are selected, select Edit in the “Bulk actions” dropdown and click on Apply.
4. It will open another menu where you can modify the Parent property to “bands” in bulk.
I would recommend doing a backup of your site before proceeding. Maybe you can also try with a couple of pages first to ensure it is working as expected, and, once you feel confident, do it for the rest.
Hope it helps, and you can solve it!
-
This reply was modified 3 years, 6 months ago by
Mario Santos.
Thanks Mario – I got it sorted in the end.
I looked at each page, and I could see, on the right, where I would normally view/edit the page attributes, categories etc., that under page attributes, the Parent Page was set to bands.
However, once I set the parent page to something else, and then back to bands and then saved/published the page, I got the desired result.
The reason? I must have had an older “bands” page, and all my pages had set their parent to this. Once I forced a new relationship to the actual bands page I had, it knw what to do.
IN the end, software etc., only does what we tell it to do.
I was telling it to do the wrong thing 🙂
Garrett