Klenkes Posted May 21, 2019 Share Posted May 21, 2019 Sorry for the post title, I don't know how to describe it in short, and the problem is difficult to explain. On a clients big website Google WMT pointed out to me that some URLs are not crawlable. I found out that the pages in question end like .../for-page-2095/ WHAT? Some 1.5 years ago I created a repeater for a FAQ, and at that moment PW created pages with the wrong template at the wrong places. I checked the created dates and they match to the second. Those pages have a template baustoff-artikel and are children of the same template which was set to not allow children! The parent is one page among 2000 others and I cannot see why this page was chosen as a parent. The parent should have been in /admin/repeaters/ and some some pages are there, but with the wrong parent as well. However... I am unable to delete those pages, neither through the admintree, nor through the API. I am able to delete the parent page Steinplatte ArtNr 1590, but then I cannot empty the trash! Error message: This page may not be deleted Some screenshots: The parent with the template baustoff-artikel which is not allowed to have children: The pages in /admin/repeaters/ The wrong pages have nothing to do with the repeater locations. I have deleted the Repeater that caused this, and want to delete the orphaned pages. I am extremely puzzled and a bit traumatized and have no idea what to do next. If anyone has any idea or experienced something like that I would be grateful for a hint. (PW version back then pre 3.0.98 and now 3.0.98) Link to comment Share on other sites More sharing options...
Macrura Posted May 21, 2019 Share Posted May 21, 2019 Repeater pages themselves are not deletable because they are system status; if you activate advanced mode and look at the settings for any of those pages, you will see that they have that checked. In order to remove them you have to first remove that flag. 3 Link to comment Share on other sites More sharing options...
Klenkes Posted May 21, 2019 Author Share Posted May 21, 2019 Thanks a lot for this hint! I mirrored the complete website(10 GB sigh...) to local. This way I can test without breaking the live site. I will check with a fresh mind tomorrow. Everything I could expect today would be mistakes. Link to comment Share on other sites More sharing options...
Klenkes Posted May 22, 2019 Author Share Posted May 22, 2019 16 hours ago, Macrura said: In order to remove them you have to first remove that flag. Thanks again @Macrura I did it exactly like in the post above. Some pages in a loop and the pages in /admin/repeaters/ I changed the status directly in the database. There seem to be no sideeffects... Solved! Link to comment Share on other sites More sharing options...
Crawford Tait Posted June 19, 2019 Share Posted June 19, 2019 I have these sort of pages created as a side effect of trying to add new pages with repeaters via the API. I'm sure it's something I'm doing wrong and I'm still trying to work it out, but does anyone know WHY they get created, where they get their random location from and what this is a symptom of? Thanks in advance for any hints! Link to comment Share on other sites More sharing options...
Crawford Tait Posted June 19, 2019 Share Posted June 19, 2019 To answer my own question - this repeater came in using page import/export and when I looked in detail I could see it had a random parent in my content tree. I opted to delete (had to use API to delete system things like associated templates) and recreate from scratch (not import), then all was good. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now